diff --git a/app/qml/main.qml b/app/qml/main.qml index 40b7e55..4bc188b 100644 --- a/app/qml/main.qml +++ b/app/qml/main.qml @@ -138,7 +138,9 @@ ApplicationWindow { current -= 1 current = current < 0 ? appSettings.profilesList.count - 1 : current appSettings.currentProfileIndex = current + var unload = (appSettings.brightness, appSettings.contrast, appSettings.windowOpacity) appSettings.loadProfile(current) + appSettings.brightness, appSettings.contrast, appSettings.windowOpacity = unload } } Action { @@ -151,7 +153,9 @@ ApplicationWindow { current += 1 current = current < appSettings.profilesList.count ? current : 0 appSettings.currentProfileIndex = current + var unload = (appSettings.brightness, appSettings.contrast, appSettings.windowOpacity) appSettings.loadProfile(current) + appSettings.brightness, appSettings.contrast, appSettings.windowOpacity = unload } } Action {