Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
c35854ac
Commit
c35854ac
authored
Oct 21, 2020
by
Nate Graham
Browse files
[kcm/keys] Relocate defaults indicator to match new positioning in System Settings
parent
a910acb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/keys/package/contents/ui/ShortcutActionDelegate.qml
View file @
c35854ac
...
...
@@ -60,14 +60,6 @@ Kirigami.AbstractListItem {
}
}
}
QQC2.ToolButton
{
Layout.alignment
:
Qt
.
AlignRight
id
:
expandButton
icon.name
:
"
expand
"
onClicked
:
{
root
.
state
==
'
expanded
'
?
shortcutsList
.
selectedIndex
=
-
1
:
shortcutsList
.
selectedIndex
=
index
}
}
Rectangle
{
id
:
defaultIndicator
radius
:
width
*
0.5
...
...
@@ -77,6 +69,14 @@ Kirigami.AbstractListItem {
opacity
:
!
model
.
isDefault
color
:
Kirigami
.
Theme
.
neutralTextColor
}
QQC2.ToolButton
{
Layout.alignment
:
Qt
.
AlignRight
id
:
expandButton
icon.name
:
"
expand
"
onClicked
:
{
root
.
state
==
'
expanded
'
?
shortcutsList
.
selectedIndex
=
-
1
:
shortcutsList
.
selectedIndex
=
index
}
}
}
}
Loader
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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