From 88bff795235e1f9e806bc1bff8a188b04bb4c6b2 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 6 May 2019 09:26:51 +0200 Subject: [PATCH] Popups fix --- radio/src/main.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/radio/src/main.cpp b/radio/src/main.cpp index 519b2ecb9..ad78aed15 100644 --- a/radio/src/main.cpp +++ b/radio/src/main.cpp @@ -438,7 +438,13 @@ void guiMain(event_t evt) menuEvent = 0; } - handleGui(isEventCaughtByPopup() ? 0 : evt); + if (isEventCaughtByPopup()) { + handleGui(0); + } + else { + handleGui(evt); + evt = 0; + } if (warningText) { // show warning on top of the normal menus