Rename CurCommandDispatcher to CommandDispatcher
This commit is contained in:
parent
8e4aaf1706
commit
1ec0766587
@ -39,7 +39,7 @@ from qutebrowser.utils.misc import shell_escape
|
||||
from qutebrowser.commands.exceptions import CommandError
|
||||
|
||||
|
||||
class CurCommandDispatcher(QObject):
|
||||
class CommandDispatcher(QObject):
|
||||
|
||||
"""Command dispatcher for TabbedBrowser.
|
||||
|
@ -29,7 +29,7 @@ import qutebrowser.commands.utils as cmdutils
|
||||
from qutebrowser.widgets._tabwidget import TabWidget, EmptyTabIcon
|
||||
from qutebrowser.widgets.webview import WebView
|
||||
from qutebrowser.browser.signalfilter import SignalFilter
|
||||
from qutebrowser.browser.curcommand import CurCommandDispatcher
|
||||
from qutebrowser.browser.commands import CommandDispatcher
|
||||
|
||||
|
||||
class TabbedBrowser(TabWidget):
|
||||
@ -94,7 +94,7 @@ class TabbedBrowser(TabWidget):
|
||||
self._tabs = []
|
||||
self.url_stack = []
|
||||
self._filter = SignalFilter(self)
|
||||
self.cmd = CurCommandDispatcher(self)
|
||||
self.cmd = CommandDispatcher(self)
|
||||
self.last_focused = None
|
||||
self.now_focused = None
|
||||
# FIXME adjust this to font size
|
||||
|
@ -170,6 +170,7 @@ class StatusBar(QWidget):
|
||||
|
||||
def _show_cmd_widget(self):
|
||||
"""Show command widget instead of temporary text."""
|
||||
self.error = False
|
||||
self._text_pop_timer.stop()
|
||||
self._stack.setCurrentWidget(self.cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user