Browse Source

Merge pull request #8432 from DonLakeFlyer/PlanFileDrop

Fix auto-display of Plan/File
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
b75e318936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/QmlControls/ToolStrip.qml

1
src/QmlControls/ToolStrip.qml

@ -29,6 +29,7 @@ Rectangle {
property AbstractButton lastClickedButton: null property AbstractButton lastClickedButton: null
function simulateClick(buttonIndex) { function simulateClick(buttonIndex) {
buttonIndex = buttonIndex + 1 // skip over title
toolStripColumn.children[buttonIndex].checked = true toolStripColumn.children[buttonIndex].checked = true
toolStripColumn.children[buttonIndex].clicked() toolStripColumn.children[buttonIndex].clicked()
} }

Loading…
Cancel
Save