Port of the popup addition

This commit is contained in:
3djc
2019-02-20 16:19:53 +01:00
committed by Bertrand Songis
parent 655966fba2
commit 64ac59dfce
16 changed files with 29 additions and 1 deletions
+5
View File
@@ -81,6 +81,11 @@ void runPopupWarning(event_t event)
switch (event) {
case EVT_KEY_BREAK(KEY_ENTER):
if(warningType == WARNING_TYPE_INFO) {
warningText = NULL;
warningType = WARNING_TYPE_ASTERISK;
}
// no break
if (warningType == WARNING_TYPE_ASTERISK)
break;
warningResult = true;