fix: crash in model select

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 0a486931ba
commit ccfce12556
+2 -1
View File
@@ -510,7 +510,8 @@ class ModelCategoryPageBody : public FormWindow
modelslist.setCurrentModel(model);
modelslist.setCurrentCategory(category);
this->onEvent(EVT_KEY_FIRST(KEY_EXIT));
menu->deleteLater();
onEvent(EVT_KEY_FIRST(KEY_EXIT));
checkAll();
});
}