diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index a15770fc73..797aa530b0 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -359,7 +359,7 @@ void Launcher::DataFilesPage::populateFileViews(const QString& contentModelName) QList selectedArchives = mGameSettings.getArchiveList(); QStringList contentModelSelectedArchives = mLauncherSettings.getArchiveList(contentModelName); - if (contentModelSelectedArchives.isEmpty()) + if (!contentModelSelectedArchives.isEmpty()) { selectedArchives.erase(std::remove_if(selectedArchives.begin(), selectedArchives.end(), [&](const Config::SettingValue& dir) { return mGameSettings.isUserSetting(dir); }),