Fixed an issue with removing invalid alternative emulator entries using the metadata editor.

This commit is contained in:
Leon Styhre 2021-10-13 17:22:29 +02:00
parent cb44762537
commit 07425d41fa

View file

@ -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;