prompter: Show prompt when restoring context.

This fixes being locked in prompt mode with no prompt when a website asks a
javascript question while another one is still visible.
This commit is contained in:
Florian Bruhin 2014-09-30 07:14:14 +02:00
parent 6b8ad67558
commit b958d07869

View File

@ -114,6 +114,7 @@ class Prompter:
prompt.lineedit.setText(ctx.input_text)
prompt.lineedit.setEchoMode(ctx.echo_mode)
prompt.lineedit.setVisible(ctx.input_visible)
prompt.show_prompt.emit()
return True
def _display_question(self):