mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Popups fix
This commit is contained in:
parent
335ed0248e
commit
88bff79523
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue