Commit e399baa7 authored by Don Gagne's avatar Don Gagne

Fix QgcView::showDialogDefaultWidth reference

parent e5a83d8d
......@@ -37,7 +37,8 @@ import QGroundControl.FactSystem 1.0
import QGroundControl.FactControls 1.0
QGCView {
viewPanel: panel
id: qgcView
viewPanel: panel
QGCPalette { id: __qgcPal; colorGroupEnabled: true }
......@@ -119,7 +120,7 @@ QGCView {
}
MenuItem {
text: "Search..."
onTriggered: showDialog(searchDialogComponent, "Parameter Search", panel.showDialogDefaultWidth, StandardButton.Reset | StandardButton.Apply)
onTriggered: showDialog(searchDialogComponent, "Parameter Search", qgcView.showDialogDefaultWidth, StandardButton.Reset | StandardButton.Apply)
}
MenuSeparator { visible: !ScreenTools.isMobile }
MenuItem {
......
Markdown is supported
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