From 07425d41fabb98db56759006657df848c02b04cc Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 13 Oct 2021 17:22:29 +0200 Subject: [PATCH] Fixed an issue with removing invalid alternative emulator entries using the metadata editor. --- es-app/src/guis/GuiMetaDataEd.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/es-app/src/guis/GuiMetaDataEd.cpp b/es-app/src/guis/GuiMetaDataEd.cpp index ced319e6c..cf12889a7 100644 --- a/es-app/src/guis/GuiMetaDataEd.cpp +++ b/es-app/src/guis/GuiMetaDataEd.cpp @@ -248,6 +248,11 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window, "", ViewController::CROSSEDCIRCLE_CHAR + " CLEAR ENTRY")); for (auto entry : launchCommands) { + if (mInvalidEmulatorEntry && singleEntry && + entry.second != + ViewController::EXCLAMATION_CHAR + " " + originalValue) + continue; + std::string selectedLabel = ed->getValue(); std::string label; ComponentListRow row;