mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an incorrect menu entry when editing custom collections.
This commit is contained in:
parent
01cf401d8f
commit
8ec7301f4b
|
@ -621,6 +621,7 @@ Whether to place all folders on top of the gamelists. If done so, the folders wi
|
||||||
Whether to sort your favorite games above your other games in the gamelists.
|
Whether to sort your favorite games above your other games in the gamelists.
|
||||||
|
|
||||||
**Add star markings to favorite games**
|
**Add star markings to favorite games**
|
||||||
|
|
||||||
With this setting enabled, there is a star symbol added at the beginning of the game name in the gamelist views. It's strongly recommended to keep this setting enabled if the option to sort favorite games above non-favorites has been enabled. If not, favorite games would be sorted on top of the gamelist with no visual indication that they are favorites, which would be very confusing.
|
With this setting enabled, there is a star symbol added at the beginning of the game name in the gamelist views. It's strongly recommended to keep this setting enabled if the option to sort favorite games above non-favorites has been enabled. If not, favorite games would be sorted on top of the gamelist with no visual indication that they are favorites, which would be very confusing.
|
||||||
|
|
||||||
**Gamelist filters**
|
**Gamelist filters**
|
||||||
|
|
|
@ -144,21 +144,23 @@ GuiGamelistOptions::GuiGamelistOptions(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::map<std::string, CollectionSystemData, stringComparator> customCollections =
|
std::string customSystem;
|
||||||
CollectionSystemManager::get()->getCustomCollectionSystems();
|
if (Settings::getInstance()->getBool("UseCustomCollectionsSystem"))
|
||||||
|
customSystem = file->getSystem()->getName();
|
||||||
|
else
|
||||||
|
customSystem = system->getName();
|
||||||
|
|
||||||
if (UIModeController::getInstance()->isUIModeFull() &&
|
if (UIModeController::getInstance()->isUIModeFull() &&
|
||||||
((customCollections.find(system->getName()) != customCollections.cend() &&
|
(isCustomCollection || isCustomCollectionGroup)) {
|
||||||
CollectionSystemManager::get()->getEditingCollection() != system->getName()) ||
|
if (CollectionSystemManager::get()->getEditingCollection() != customSystem) {
|
||||||
CollectionSystemManager::get()->getCustomCollectionsBundle()->getName() ==
|
|
||||||
system->getName())) {
|
|
||||||
row.elements.clear();
|
row.elements.clear();
|
||||||
row.addElement(std::make_shared<TextComponent>(
|
row.addElement(std::make_shared<TextComponent>(
|
||||||
mWindow, "ADD/REMOVE GAMES TO THIS GAME COLLECTION", Font::get(FONT_SIZE_MEDIUM),
|
mWindow, "ADD/REMOVE GAMES TO THIS GAME COLLECTION",
|
||||||
0x777777FF), true);
|
Font::get(FONT_SIZE_MEDIUM), 0x777777FF), true);
|
||||||
row.makeAcceptInputHandler(std::bind(&GuiGamelistOptions::startEditMode, this));
|
row.makeAcceptInputHandler(std::bind(&GuiGamelistOptions::startEditMode, this));
|
||||||
mMenu.addRow(row);
|
mMenu.addRow(row);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (UIModeController::getInstance()->isUIModeFull() &&
|
if (UIModeController::getInstance()->isUIModeFull() &&
|
||||||
CollectionSystemManager::get()->isEditing()) {
|
CollectionSystemManager::get()->isEditing()) {
|
||||||
|
|
Loading…
Reference in a new issue