Commit e399baa7 authored by Don Gagne's avatar Don Gagne

Fix QgcView::showDialogDefaultWidth reference

parent e5a83d8d
...@@ -37,6 +37,7 @@ import QGroundControl.FactSystem 1.0 ...@@ -37,6 +37,7 @@ import QGroundControl.FactSystem 1.0
import QGroundControl.FactControls 1.0 import QGroundControl.FactControls 1.0
QGCView { QGCView {
id: qgcView
viewPanel: panel viewPanel: panel
QGCPalette { id: __qgcPal; colorGroupEnabled: true } QGCPalette { id: __qgcPal; colorGroupEnabled: true }
...@@ -119,7 +120,7 @@ QGCView { ...@@ -119,7 +120,7 @@ QGCView {
} }
MenuItem { MenuItem {
text: "Search..." 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 } MenuSeparator { visible: !ScreenTools.isMobile }
MenuItem { 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