From 071c4d22ce934e7db96388e5e687546014444785 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 24 Jan 2023 18:25:56 +0100 Subject: [PATCH] Fixed an issue where the gamelist options menu entry to add/remove games was included when it shouldn't. --- es-app/src/guis/GuiGamelistOptions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-app/src/guis/GuiGamelistOptions.cpp b/es-app/src/guis/GuiGamelistOptions.cpp index ab4065dc0..63173c125 100644 --- a/es-app/src/guis/GuiGamelistOptions.cpp +++ b/es-app/src/guis/GuiGamelistOptions.cpp @@ -178,7 +178,8 @@ GuiGamelistOptions::GuiGamelistOptions(SystemData* system) if (UIModeController::getInstance()->isUIModeFull() && (mIsCustomCollection || mIsCustomCollectionGroup)) { - if (CollectionSystemsManager::getInstance()->getEditingCollection() != system->getName()) { + if (CollectionSystemsManager::getInstance()->getEditingCollection() != + getGamelist()->getCursor()->getSystem()->getName()) { row.elements.clear(); row.addElement(std::make_shared("ADD/REMOVE GAMES TO THIS COLLECTION", Font::get(FONT_SIZE_MEDIUM), 0x777777FF),