1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-25 17:25:10 +03:00

Popups fix

This commit is contained in:
Bertrand Songis 2019-05-06 09:26:51 +02:00
parent 335ed0248e
commit 88bff79523

View file

@ -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