Popups fix
This commit is contained in:
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user