Remove (y/N) suffix from download questions.
This commit is contained in:
parent
c32d80c7bc
commit
4bddcd4c1a
@ -299,7 +299,7 @@ class DownloadItem(QObject):
|
|||||||
def _ask_confirm_question(self, msg):
|
def _ask_confirm_question(self, msg):
|
||||||
"""Create a Question object to be asked."""
|
"""Create a Question object to be asked."""
|
||||||
q = usertypes.Question(self)
|
q = usertypes.Question(self)
|
||||||
q.text = msg + ' (N/y)'
|
q.text = msg
|
||||||
q.mode = usertypes.PromptMode.yesno
|
q.mode = usertypes.PromptMode.yesno
|
||||||
q.answered_yes.connect(self._create_fileobj)
|
q.answered_yes.connect(self._create_fileobj)
|
||||||
q.answered_no.connect(functools.partial(self.cancel, False))
|
q.answered_no.connect(functools.partial(self.cancel, False))
|
||||||
|
Loading…
Reference in New Issue
Block a user