[Horus] Choosing a model bitmap was broken

This commit is contained in:
Bertrand Songis
2019-08-22 11:41:24 +02:00
parent 5e9a0ca7e1
commit 9454da5460
4 changed files with 72 additions and 12 deletions
+2 -1
View File
@@ -312,7 +312,8 @@ void guiMain(event_t evt)
}
if (menu) {
const char * result = runPopupMenu(evt);
if (popupMenuItemsCount == 0) {
if (result) {
TRACE("popupMenuHandler(%s)", result);
popupMenuHandler(result);
if (menuEvent == 0) {
evt = EVT_REFRESH;