diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-17 09:21:26 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-17 09:21:26 +0300 |
commit | 350f1d2190486982570d2a9413b4a5ce70a6256e (patch) | |
tree | 502c02e9432d5b625b9297d769988eb0ceda49e1 | |
parent | d74e1dc35d108d1f17342ff203838b83d135537e (diff) |
Mobile: Closing dialogs by swiping
-rw-r--r-- | src/ui/mobile.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/mobile.c b/src/ui/mobile.c index 05e88815..e04e8d20 100644 --- a/src/ui/mobile.c +++ b/src/ui/mobile.c | |||
@@ -221,8 +221,14 @@ static iBool topPanelHandler_(iWidget *topPanel, const char *cmd) { | |||
221 | else if (findWidget_App("upload")) { | 221 | else if (findWidget_App("upload")) { |
222 | postCommand_App("upload.cancel"); | 222 | postCommand_App("upload.cancel"); |
223 | } | 223 | } |
224 | else if (findWidget_App("ident")) { | ||
225 | postCommand_Widget(topPanel, "ident.cancel"); | ||
226 | } | ||
227 | else if (findWidget_App("xlt")) { | ||
228 | postCommand_Widget(topPanel, "translation.cancel"); | ||
229 | } | ||
224 | else { | 230 | else { |
225 | postCommand_App("cancel"); | 231 | postCommand_Widget(topPanel, "cancel"); |
226 | } | 232 | } |
227 | } | 233 | } |
228 | return iTrue; | 234 | return iTrue; |