From d650faaa4faa26a10405b44b9ad1a6ea294b3810 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 31 Jan 2019 16:38:03 +0100 Subject: [PATCH] Fix warning --- plasmoid/package/contents/ui/DeviceDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasmoid/package/contents/ui/DeviceDelegate.qml b/plasmoid/package/contents/ui/DeviceDelegate.qml index f51efcfb3..68bc19a49 100644 --- a/plasmoid/package/contents/ui/DeviceDelegate.qml +++ b/plasmoid/package/contents/ui/DeviceDelegate.qml @@ -255,7 +255,7 @@ PlasmaComponents.ListItem iconSource: "list-add" tooltip: i18n("Add command") onClicked: rc.plugin.editCommands() - visible: rc.plugin.canAddCommand + visible: rc.plugin && rc.plugin.canAddCommand } } Repeater {