Commit e5a104cc authored by Don Gagne's avatar Don Gagne

Merge pull request #2550 from DonLakeFlyer/ParamSearch

Fix QgcView::showDialogDefaultWidth reference
parents 9f37a790 e399baa7
...@@ -37,7 +37,8 @@ import QGroundControl.FactSystem 1.0 ...@@ -37,7 +37,8 @@ import QGroundControl.FactSystem 1.0
import QGroundControl.FactControls 1.0 import QGroundControl.FactControls 1.0
QGCView { QGCView {
viewPanel: panel id: qgcView
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