parent
a088f238e5
commit
940b124253
@ -165,9 +165,9 @@ class Prompter(QObject):
|
|||||||
suffix = " (no)"
|
suffix = " (no)"
|
||||||
prompt.txt.setText(self._question.text + suffix)
|
prompt.txt.setText(self._question.text + suffix)
|
||||||
prompt.lineedit.hide()
|
prompt.lineedit.hide()
|
||||||
elif self._question.mode in {usertypes.PromptMode.text,
|
elif self._question.mode in [usertypes.PromptMode.text,
|
||||||
usertypes.PromptMode.user_pwd,
|
usertypes.PromptMode.user_pwd,
|
||||||
usertypes.PromptMode.download}:
|
usertypes.PromptMode.download]:
|
||||||
prompt.txt.setText(self._question.text)
|
prompt.txt.setText(self._question.text)
|
||||||
if self._question.default:
|
if self._question.default:
|
||||||
prompt.lineedit.setText(self._question.default)
|
prompt.lineedit.setText(self._question.default)
|
||||||
|
Loading…
Reference in New Issue
Block a user