[plasma/plasma-desktop] kcms/workspaceoptions/ui: kcms/workspaceoptions: Add missing default indicator

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 5966acaa1e3f0254fa704d5344275e2abdeeb308 by Nate Graham, on behalf of Tobias Ozór.
Committed on 03/08/2026 at 18:05.
Pushed by ngraham into branch 'master'.

kcms/workspaceoptions: Add missing default indicator

Add a default indicator to the "When dragging files or folders:" setting

M  +10   -0    kcms/workspaceoptions/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/5966acaa1e3f0254fa704d5344275e2abdeeb308

diff --git a/kcms/workspaceoptions/ui/main.qml b/kcms/workspaceoptions/ui/main.qml
index 5d99a02317..13c6b17741 100644
--- a/kcms/workspaceoptions/ui/main.qml
+++ b/kcms/workspaceoptions/ui/main.qml
@@ -317,6 +317,11 @@ KCM.SimpleKCM {
                     onToggled: kcm.globalsSettings.dndBehavior = WorkspaceOptionsGlobalsSettings.AlwaysAsk
                     QQC2.ButtonGroup { id: dndBehaviorGroup }
                     QQC2.ButtonGroup.group: dndBehaviorGroup
+
+                    KCM.SettingStateBinding {
+                        configObject: kcm.globalsSettings
+                        settingName: "dndBehavior"
+                    }
                 }
             }
 
@@ -330,6 +335,11 @@ KCM.SimpleKCM {
                     checked: kcm.globalsSettings.dndBehavior === WorkspaceOptionsGlobalsSettings.MoveIfSameDevice
                     onToggled: kcm.globalsSettings.dndBehavior = WorkspaceOptionsGlobalsSettings.MoveIfSameDevice
                     QQC2.ButtonGroup.group: dndBehaviorGroup
+
+                    KCM.SettingStateBinding {
+                        configObject: kcm.globalsSettings
+                        settingName: "dndBehavior"
+                    }
                 }
             }
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.