Hide prompts correctly after :prompt-download-open

This commit is contained in:
Florian Bruhin 2016-10-28 07:02:04 +02:00
parent 5eb66f2693
commit 54a694e35e

View File

@ -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 = [