Commit d36c0bcc authored by Devin Lin's avatar Devin Lin 🎨
Browse files

Only show containment switcher if there are more than one

parent 22dd8555
Pipeline #164067 passed with stage
in 40 seconds
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment