Remove _tabs when unneeded

This commit is contained in:
Florian Bruhin 2014-05-17 23:46:06 +02:00
parent 65aee9d991
commit bca3909a10

View File

@ -277,7 +277,7 @@ class TabbedBrowser(TabWidget):
text: The text to search for. text: The text to search for.
flags: The QWebPage::FindFlags. flags: The QWebPage::FindFlags.
""" """
self._tabs.currentWidget().findText(text, flags) self.currentWidget().findText(text, flags)
@pyqtSlot(str) @pyqtSlot(str)
def handle_hint_key(self, keystr): def handle_hint_key(self, keystr):