Browse Source

Merge pull request #2550 from DonLakeFlyer/ParamSearch

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

3
src/QmlControls/ParameterEditor.qml

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