Remove (y/N) suffix from download questions.

This commit is contained in:
Florian Bruhin 2015-07-02 20:57:23 +02:00
parent c32d80c7bc
commit 4bddcd4c1a

View File

@ -299,7 +299,7 @@ class DownloadItem(QObject):
def _ask_confirm_question(self, msg):
"""Create a Question object to be asked."""
q = usertypes.Question(self)
q.text = msg + ' (N/y)'
q.text = msg
q.mode = usertypes.PromptMode.yesno
q.answered_yes.connect(self._create_fileobj)
q.answered_no.connect(functools.partial(self.cancel, False))