Fix warning

This commit is contained in:
Aleix Pol 2019-01-31 16:38:03 +01:00
parent 4b261508ff
commit d650faaa4f

View file

@ -255,7 +255,7 @@ PlasmaComponents.ListItem
iconSource: "list-add" iconSource: "list-add"
tooltip: i18n("Add command") tooltip: i18n("Add command")
onClicked: rc.plugin.editCommands() onClicked: rc.plugin.editCommands()
visible: rc.plugin.canAddCommand visible: rc.plugin && rc.plugin.canAddCommand
} }
} }
Repeater { Repeater {