From 10420eaac2a89402e5d9b6e06815bbfef4f057c6 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 16 Jul 2020 12:19:11 +0200 Subject: [PATCH] Removed unnecessary settings file saving when changing the default sort order. --- es-app/src/guis/GuiMenu.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index e181a4ae8..62a11ab1c 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -357,7 +357,6 @@ void GuiMenu::openUISettings() std::string selectedSortOrder = defaultSortOrder.get()->getSelected()->description; if (selectedSortOrder != sortOrder) { Settings::getInstance()->setString("DefaultSortOrder", selectedSortOrder); - Settings::getInstance()->saveFile(); // Activate the new sort order by setting up the sort type per system // and then resorting all gamelists.