diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index 056203290..26ba802c0 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -237,7 +237,7 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): e.accept() modeman.leave(self._win_id, usertypes.KeyMode.command, 'prefix deleted') - return + return if e.key() == Qt.Key_Return: e.ignore() return