Fix some lint
This commit is contained in:
parent
e09b34a744
commit
1785294a43
@ -183,12 +183,6 @@ class CurCommandDispatcher(QObject):
|
||||
printdiag = QPrintDialog(tab)
|
||||
printdiag.open(lambda: tab.print(printdiag.printer()))
|
||||
|
||||
@cmdutils.register(instance='mainwindow.tabs.cur')
|
||||
def stop(self, count=None):
|
||||
"""Stop loading of tab [n] or of current tab."""
|
||||
tab = self._tabs.cntwidget(count)
|
||||
tab.stop()
|
||||
|
||||
@cmdutils.register(instance='mainwindow.tabs.cur')
|
||||
def back(self, count=1):
|
||||
"""Go back in the history of the current tab.
|
||||
|
@ -438,7 +438,7 @@ class TabbedBrowser(TabWidget):
|
||||
|
||||
@cmdutils.register(instance='mainwindow.tabs')
|
||||
def tab_focus_last(self):
|
||||
"""Focus the tab which was last focused."""
|
||||
"""Select the tab which was last focused."""
|
||||
idx = self.indexOf(self.last_focused)
|
||||
if idx == -1:
|
||||
message.error("Last focused tab vanished!")
|
||||
|
Loading…
Reference in New Issue
Block a user