summaryrefslogtreecommitdiff
path: root/apps/gui/yesno.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/yesno.c')
-rw-r--r--apps/gui/yesno.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index 1ef61249b6..381d6d8c21 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -121,6 +121,8 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
121 result=YESNO_YES; 121 result=YESNO_YES;
122 break; 122 break;
123 case ACTION_NONE: 123 case ACTION_NONE:
124 case SYS_CHARGER_DISCONNECTED:
125 /* ignore some SYS events that can happen */
124 continue; 126 continue;
125 default: 127 default:
126 if(default_event_handler(button) == SYS_USB_CONNECTED) 128 if(default_event_handler(button) == SYS_USB_CONNECTED)