Fixed an issue where the gamelist options menu entry to add/remove games was included when it shouldn't.

This commit is contained in:
Leon Styhre 2023-01-24 18:25:56 +01:00
parent bc4c9120d6
commit 071c4d22ce

View file

@ -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<TextComponent>("ADD/REMOVE GAMES TO THIS COLLECTION",
Font::get(FONT_SIZE_MEDIUM), 0x777777FF),