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
3686fea5
Commit
3686fea5
authored
Oct 21, 2021
by
Eugene Popov
🇺🇦
Committed by
Nate Graham
Oct 21, 2021
Browse files
Fix pinned applet closes
Check if the applet is pinned before closing it.
BUG: 443589
parent
2f27fc9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/kickoff/package/contents/ui/KickoffItemDelegate.qml
View file @
3686fea5
...
...
@@ -124,7 +124,9 @@ T.ItemDelegate {
view
.
currentIndex
=
index
// if successfully triggered, close popup
if
(
view
.
model
.
trigger
(
index
,
""
,
null
))
{
plasmoid
.
expanded
=
false
if
(
plasmoid
.
hideOnWindowDeactivate
)
{
plasmoid
.
expanded
=
false
;
}
}
}
}
...
...
Eugene Popov
🇺🇦
@epopov
mentioned in commit
1d0ec8b2
·
Oct 21, 2021
mentioned in commit
1d0ec8b2
mentioned in commit 1d0ec8b23f6b01cfa85a6137e0ad18ff1fdba6e9
Toggle commit list
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