Browse Source

Merge pull request #1651 from DonLakeFlyer/CustomCommand

Keep FactPanelController happy
QGC4.4
Don Gagne 10 years ago
parent
commit
3b70a156bc
  1. 5
      src/ViewWidgets/CustomCommandWidget.qml

5
src/ViewWidgets/CustomCommandWidget.qml

@ -37,8 +37,11 @@ ViewWidget {
id: commandComponenet id: commandComponenet
Item { 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 { Item {
anchors.top: parent.top anchors.top: parent.top

Loading…
Cancel
Save