Browse Source

Merge pull request #2550 from DonLakeFlyer/ParamSearch

Fix QgcView::showDialogDefaultWidth reference
QGC4.4
Don Gagne 10 years ago
parent
commit
e5a104cc19
  1. 5
      src/QmlControls/ParameterEditor.qml

5
src/QmlControls/ParameterEditor.qml

@ -37,7 +37,8 @@ import QGroundControl.FactSystem 1.0 @@ -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 { @@ -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 {

Loading…
Cancel
Save