From ecfb791e483234308b1edacb87e499860a63e510 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 18 Dec 2021 22:41:45 -0600 Subject: Roll back unintended changes --- src/aooptionsdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/aooptionsdialog.cpp') diff --git a/src/aooptionsdialog.cpp b/src/aooptionsdialog.cpp index 54a11e13..7413db3a 100644 --- a/src/aooptionsdialog.cpp +++ b/src/aooptionsdialog.cpp @@ -1255,12 +1255,12 @@ void AOOptionsDialog::save_pressed() mountPaths.append(ui_mount_list->item(i)->text()); configini->setValue("mount_paths", mountPaths); - if (asset_cache_dirty) - ao_app->invalidate_lookup_cache(); - if (audioChanged) ao_app->initBASS(); + if (asset_cache_dirty) + ao_app->invalidate_lookup_cache(); + // We most probably pressed "Restore defaults" at some point. Since we're saving our settings, remove the temporary file. if (QFile::exists(ao_app->get_base_path() + "config.temp")) QFile::remove(ao_app->get_base_path() + "config.temp"); -- cgit