Closed jenskutilek closed 8 years ago
AskString always returned the input string, even when the dialog was cancelled.
This patch returns None when the dialog is cancelled. We might also opt to return -1 instead, that's what vanilla.dialogs.AskYesNoCancel does.
AskString always returned the input string, even when the dialog was cancelled.
This patch returns None when the dialog is cancelled. We might also opt to return -1 instead, that's what vanilla.dialogs.AskYesNoCancel does.