Don't output debug strings for cur_progress signals
This commit is contained in:
parent
0005c1d0a7
commit
0477df72b7
@ -341,10 +341,12 @@ class TabbedBrowser(TabWidget):
|
|||||||
return
|
return
|
||||||
sender.signal_cache[signal.signal] = (signal, args)
|
sender.signal_cache[signal.signal] = (signal, args)
|
||||||
if self.currentWidget() == sender:
|
if self.currentWidget() == sender:
|
||||||
logging.debug('{} - emitting'.format(dbgstr))
|
if not signal.signal.startswith('2cur_progress'):
|
||||||
|
logging.debug('{} - emitting'.format(dbgstr))
|
||||||
return signal.emit(*args)
|
return signal.emit(*args)
|
||||||
else:
|
else:
|
||||||
logging.debug('{} - ignoring'.format(dbgstr))
|
if not signal.signal.startswith('2cur_progress'):
|
||||||
|
logging.debug('{} - ignoring'.format(dbgstr))
|
||||||
|
|
||||||
def _currentChanged_handler(self, idx):
|
def _currentChanged_handler(self, idx):
|
||||||
"""Update status bar values when a tab was changed.
|
"""Update status bar values when a tab was changed.
|
||||||
|
Loading…
Reference in New Issue
Block a user