[kcmkwin] Apply grid delegate KCMs on double-click
To be consistent with plasma-workspace KCMs which we applied this to in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/606
This commit is contained in:
parent
706eb16b3a
commit
2a6fe9748f
2 changed files with 6 additions and 0 deletions
|
@ -103,6 +103,9 @@ KCM.GridView {
|
|||
kcm.theme = index
|
||||
view.currentIndex = index
|
||||
}
|
||||
onDoubleClicked: {
|
||||
kcm.save();
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: kcm
|
||||
|
|
|
@ -35,5 +35,8 @@ KCM.GridViewKCM {
|
|||
onClicked: {
|
||||
kcm.settings.inputMethod = model.desktopFileName;
|
||||
}
|
||||
onDoubleClicked: {
|
||||
kcm.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue