Popups fix

This commit is contained in:
Bertrand Songis
2019-05-06 09:26:51 +02:00
parent 335ed0248e
commit 88bff79523
+7 -1
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