summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-03-01 14:39:16 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2023-03-01 14:39:16 -0500
commit1e701d411b1eb8074fcf53b43819ec810190bd85 (patch)
treede61c27e0b9a406ce8510b2db1f783fedf767efc /resources
parentMake switches respect accent color (diff)
downloadnheko-1e701d411b1eb8074fcf53b43819ec810190bd85.tar.xz
Don't double-show encryption dialog
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/dialogs/RoomSettings.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/dialogs/RoomSettings.qml b/resources/qml/dialogs/RoomSettings.qml
index 5544841f..845f4d7a 100644
--- a/resources/qml/dialogs/RoomSettings.qml
+++ b/resources/qml/dialogs/RoomSettings.qml
@@ -395,7 +395,8 @@ ApplicationWindow {
                             checked = true;
                             return ;
                         }
-                        confirmEncryptionDialog.open();
+                        if (checked === true)
+                            confirmEncryptionDialog.open();
                     }
                     Layout.alignment: Qt.AlignRight
                 }