Removed unnecessary settings file saving when changing the default sort order.

This commit is contained in:
Leon Styhre 2020-07-16 12:19:11 +02:00
parent 2ff3dda5c8
commit 10420eaac2

View file

@ -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.