From ac33da82a20345cc3420c4270fba097ef05a7fe2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 5 Feb 2014 15:31:09 +0100 Subject: [PATCH] Add more debug info to _filter_signals warning --- qutebrowser/widgets/browser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/widgets/browser.py b/qutebrowser/widgets/browser.py index 0c0c7faa0..abdfcfa2d 100644 --- a/qutebrowser/widgets/browser.py +++ b/qutebrowser/widgets/browser.py @@ -336,7 +336,8 @@ class TabbedBrowser(TabWidget): sender = self.sender() if type(sender) != type(self.currentWidget()): # FIXME why does this happen? - logging.warn('Got a signal to _filter_signals not by a tab!') + logging.warn('Got signal "{}" by {} which is no tab!'.format( + dbgstr, sender)) return sender.signal_cache[signal.signal] = (signal, args) if self.currentWidget() == sender: