This commit is contained in:
Bertrand Songis
2019-09-10 10:58:25 +02:00
parent 76b8e3a17f
commit 96f49f6edd
+2
View File
@@ -315,6 +315,7 @@ void guiMain(event_t evt)
if (result) { if (result) {
TRACE("popupMenuHandler(%s)", result); TRACE("popupMenuHandler(%s)", result);
auto handler = popupMenuHandler; auto handler = popupMenuHandler;
if (result != STR_UPDATE_LIST)
CLEAR_POPUP(); CLEAR_POPUP();
handler(result); handler(result);
if (menuEvent == 0) { if (menuEvent == 0) {
@@ -455,6 +456,7 @@ void guiMain(event_t evt)
if (result) { if (result) {
TRACE("popupMenuHandler(%s)", result); TRACE("popupMenuHandler(%s)", result);
auto handler = popupMenuHandler; auto handler = popupMenuHandler;
if (result != STR_UPDATE_LIST)
CLEAR_POPUP(); CLEAR_POPUP();
handler(result); handler(result);
} }