diff options
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 98f0fb18..9ac18881 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -868,7 +868,8 @@ void updateValueInput_Widget(iWidget *d, const char *title, const char *prompt) | |||
868 | 868 | ||
869 | static iBool messageHandler_(iWidget *msg, const char *cmd) { | 869 | static iBool messageHandler_(iWidget *msg, const char *cmd) { |
870 | /* Almost any command dismisses the sheet. */ | 870 | /* Almost any command dismisses the sheet. */ |
871 | if (!(equal_Command(cmd, "media.updated") || equal_Command(cmd, "document.request.updated"))) { | 871 | if (!(equal_Command(cmd, "media.updated") || equal_Command(cmd, "document.request.updated") || |
872 | startsWith_CStr(cmd, "window."))) { | ||
872 | destroy_Widget(msg); | 873 | destroy_Widget(msg); |
873 | } | 874 | } |
874 | return iFalse; | 875 | return iFalse; |