mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Fixed an issue with changing settings while editing a custom collection.
This commit is contained in:
parent
8ec7301f4b
commit
f9ceeb0753
|
@ -221,6 +221,9 @@ void GuiCollectionSystemsOptions::applySettings()
|
||||||
void GuiCollectionSystemsOptions::updateSettings(std::string newAutoSettings,
|
void GuiCollectionSystemsOptions::updateSettings(std::string newAutoSettings,
|
||||||
std::string newCustomSettings)
|
std::string newCustomSettings)
|
||||||
{
|
{
|
||||||
|
if (CollectionSystemManager::get()->isEditing())
|
||||||
|
CollectionSystemManager::get()->exitEditMode();
|
||||||
|
|
||||||
Settings::getInstance()->setString("CollectionSystemsAuto", newAutoSettings);
|
Settings::getInstance()->setString("CollectionSystemsAuto", newAutoSettings);
|
||||||
Settings::getInstance()->setString("CollectionSystemsCustom", newCustomSettings);
|
Settings::getInstance()->setString("CollectionSystemsCustom", newCustomSettings);
|
||||||
Settings::getInstance()->setBool("FavFirstCustom", sortFavFirstCustomSwitch->getState());
|
Settings::getInstance()->setBool("FavFirstCustom", sortFavFirstCustomSwitch->getState());
|
||||||
|
|
Loading…
Reference in a new issue