From 2fd7c44ac6e484f7576d7ace3bab949dd96a9d00 Mon Sep 17 00:00:00 2001 From: armored-dragon Date: Sat, 23 Nov 2024 09:27:35 -0600 Subject: [PATCH] Fixed regression? --- scripts/system/settings/settings.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/system/settings/settings.qml b/scripts/system/settings/settings.qml index 2a3fc320c9..19898055f9 100644 --- a/scripts/system/settings/settings.qml +++ b/scripts/system/settings/settings.qml @@ -144,12 +144,8 @@ Rectangle { // FPS SettingComboBox { settingText: "Refresh rate"; - optionIndex: Performance.getPerformancePreset() - 1; options: ["Economical", "Interactive", "Real-Time", "Custom"]; - - Component.onCompleted: { - optionIndex = Performance.getRefreshRateProfile() - } + optionIndex: Performance.getRefreshRateProfile(); onValueChanged: { Performance.setRefreshRateProfile(index);