From 54a694e35e84066f604a5cebaea331e72fa17f73 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 28 Oct 2016 07:02:04 +0200 Subject: [PATCH] Hide prompts correctly after :prompt-download-open --- qutebrowser/mainwindow/prompt.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py index dcef2023d..5a28bb03a 100644 --- a/qutebrowser/mainwindow/prompt.py +++ b/qutebrowser/mainwindow/prompt.py @@ -633,10 +633,8 @@ class DownloadFilenamePrompt(FilenamePrompt): def download_open(self, cmdline): self.question.answer = usertypes.OpenFileDownloadTarget(cmdline) - # FIXME now we don't have a window ID here... - # modeman.maybe_leave(self._win_id, usertypes.KeyMode.prompt, - # 'download open') self.question.done() + message.global_bridge.prompt_done.emit(self.KEY_MODE) def _allowed_commands(self): cmds = [