mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Take out some debug prints and connects
This commit is contained in:
parent
a6a150a526
commit
fea18021b8
@ -475,12 +475,8 @@ class MetadataSingleDialogAlt(MetadataSingleDialogBase):
|
|||||||
cc_two_column = False
|
cc_two_column = False
|
||||||
one_line_comments_toolbar = True
|
one_line_comments_toolbar = True
|
||||||
|
|
||||||
def tab_clicked(self, t):
|
|
||||||
print 'here', t
|
|
||||||
|
|
||||||
def do_layout(self): # {{{
|
def do_layout(self): # {{{
|
||||||
self.central_widget.clear()
|
self.central_widget.clear()
|
||||||
self.central_widget.currentChanged.connect(self.tab_clicked)
|
|
||||||
self.tabs = []
|
self.tabs = []
|
||||||
self.labels = []
|
self.labels = []
|
||||||
sto = QWidget.setTabOrder
|
sto = QWidget.setTabOrder
|
||||||
@ -602,7 +598,7 @@ class MetadataSingleDialogAlt(MetadataSingleDialogBase):
|
|||||||
|
|
||||||
|
|
||||||
def edit_metadata(db, row_list, current_row, parent=None, view_slot=None):
|
def edit_metadata(db, row_list, current_row, parent=None, view_slot=None):
|
||||||
d = MetadataSingleDialog(db, parent)
|
d = MetadataSingleDialogAlt(db, parent)
|
||||||
d.start(row_list, current_row, view_slot=view_slot)
|
d.start(row_list, current_row, view_slot=view_slot)
|
||||||
return d.changed
|
return d.changed
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user