From f1a23355bdd7d2fe08c5efa73ee21ece14979a7f Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 9 Jan 2022 00:28:03 +0100 Subject: Port usersettings to qml --- resources/qml/dialogs/ImagePackSettingsDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/qml/dialogs/ImagePackSettingsDialog.qml') diff --git a/resources/qml/dialogs/ImagePackSettingsDialog.qml b/resources/qml/dialogs/ImagePackSettingsDialog.qml index d6025f80..fa079855 100644 --- a/resources/qml/dialogs/ImagePackSettingsDialog.qml +++ b/resources/qml/dialogs/ImagePackSettingsDialog.qml @@ -185,7 +185,7 @@ ApplicationWindow { ToggleButton { ToolTip.text: qsTr("Enables this pack to be used in all rooms") checked: currentPack ? currentPack.isGloballyEnabled : false - onClicked: currentPack.isGloballyEnabled = !currentPack.isGloballyEnabled + onCheckedChanged: currentPack.isGloballyEnabled = checked Layout.alignment: Qt.AlignRight } -- cgit 1.5.1