statusbar: Ignore subsequent _show_prompt_widget.
If it's already shown, we don't want to mess with stuff again.
This commit is contained in:
parent
52ea924cbe
commit
6b8ad67558
@ -278,6 +278,8 @@ class StatusBar(QWidget):
|
||||
|
||||
def _show_prompt_widget(self):
|
||||
"""Show prompt widget instead of temporary text."""
|
||||
if self._stack.currentWidget() is self.prompt:
|
||||
return
|
||||
self._set_error(False)
|
||||
self._set_prompt_active(True)
|
||||
self._previous_widget = PreviousWidget.prompt
|
||||
|
Loading…
Reference in New Issue
Block a user