Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
f5fc5e9f
Commit
f5fc5e9f
authored
Jan 28, 2021
by
Wael Chlouftou
Committed by
Nate Graham
Apr 30, 2021
Browse files
[KCMs] Apply by double clicking on thumbnails in Appearance KCMs
parent
51538e1a
Changes
5
Hide whitespace changes
Inline
Side-by-side
kcms/cursortheme/package/contents/ui/Delegate.qml
View file @
f5fc5e9f
...
...
@@ -80,4 +80,7 @@ KCM.GridDelegate {
view
.
forceActiveFocus
();
kcm
.
cursorThemeSettings
.
cursorTheme
=
kcm
.
cursorThemeFromIndex
(
index
);
}
onDoubleClicked
:
{
kcm
.
save
();
}
}
kcms/desktoptheme/package/contents/ui/main.qml
View file @
f5fc5e9f
...
...
@@ -151,6 +151,9 @@ KCM.GridViewKCM {
kcm
.
desktopThemeSettings
.
name
=
model
.
pluginName
;
view
.
forceActiveFocus
();
}
onDoubleClicked
:
{
kcm
.
save
();
}
}
footer
:
ColumnLayout
{
...
...
kcms/icons/package/contents/ui/main.qml
View file @
f5fc5e9f
...
...
@@ -176,6 +176,9 @@ KCM.GridViewKCM {
}
view
.
forceActiveFocus
();
}
onDoubleClicked
:
{
kcm
.
save
();
}
}
footer
:
ColumnLayout
{
...
...
kcms/lookandfeel/package/contents/ui/main.qml
View file @
f5fc5e9f
...
...
@@ -66,6 +66,9 @@ KCM.GridViewKCM {
view
.
forceActiveFocus
();
resetCheckbox
.
checked
=
false
;
}
onDoubleClicked
:
{
kcm
.
save
();
}
}
footer
:
ColumnLayout
{
...
...
kcms/style/package/contents/ui/main.qml
View file @
f5fc5e9f
...
...
@@ -116,6 +116,9 @@ KCM.GridViewKCM {
kcm
.
model
.
selectedStyle
=
model
.
styleName
;
view
.
forceActiveFocus
();
}
onDoubleClicked
:
{
kcm
.
save
();
}
}
footer
:
ColumnLayout
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment