From f9ceeb0753bb065b52432d0d5656a5002df1ede3 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 26 Oct 2020 18:39:27 +0100 Subject: [PATCH] Fixed an issue with changing settings while editing a custom collection. --- es-app/src/guis/GuiCollectionSystemsOptions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/es-app/src/guis/GuiCollectionSystemsOptions.cpp b/es-app/src/guis/GuiCollectionSystemsOptions.cpp index a6546a92a..d320a1f40 100644 --- a/es-app/src/guis/GuiCollectionSystemsOptions.cpp +++ b/es-app/src/guis/GuiCollectionSystemsOptions.cpp @@ -221,6 +221,9 @@ void GuiCollectionSystemsOptions::applySettings() void GuiCollectionSystemsOptions::updateSettings(std::string newAutoSettings, std::string newCustomSettings) { + if (CollectionSystemManager::get()->isEditing()) + CollectionSystemManager::get()->exitEditMode(); + Settings::getInstance()->setString("CollectionSystemsAuto", newAutoSettings); Settings::getInstance()->setString("CollectionSystemsCustom", newCustomSettings); Settings::getInstance()->setBool("FavFirstCustom", sortFavFirstCustomSwitch->getState());