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 Nano
Commits
d36c0bcc
Commit
d36c0bcc
authored
Apr 14, 2022
by
Devin Lin
🎨
Browse files
Only show containment switcher if there are more than one
parent
22dd8555
Pipeline
#164067
passed with stage
in 40 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
shell/contents/configuration/ConfigurationContainmentAppearance.qml
View file @
d36c0bcc
...
...
@@ -88,6 +88,7 @@ ColumnLayout {
enabled
:
!
plasmoid
.
immutable
model
:
configDialog
.
containmentPluginsConfigModel
textRole
:
"
name
"
visible
:
count
>
1
// only show if there are multiple plugins
onActivated
:
{
var
model
=
configDialog
.
containmentPluginsConfigModel
.
get
(
currentIndex
)
root
.
containmentPlugin
=
model
.
pluginName
...
...
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