From a8de7cc855b04e82b4a7da2008f8d1fe93659eb1 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 6 Jun 2015 19:44:55 -0700 Subject: [PATCH] Keep FactPanelController happy --- src/ViewWidgets/CustomCommandWidget.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ViewWidgets/CustomCommandWidget.qml b/src/ViewWidgets/CustomCommandWidget.qml index 5f353f065..d95543648 100644 --- a/src/ViewWidgets/CustomCommandWidget.qml +++ b/src/ViewWidgets/CustomCommandWidget.qml @@ -37,8 +37,11 @@ ViewWidget { id: commandComponenet Item { + id: bogusFactPanel - CustomCommandWidgetController { id: controller } + // We aren't really using the controller in a FactPanel for this usage so we + // pass in a bogus item to keep it from getting upset. + CustomCommandWidgetController { id: controller; factPanel: bogusFactPanel } Item { anchors.top: parent.top -- 2.22.0