Browse Source

Fix empty Plan File dropdown display

QGC4.4
DoinLakeFlyer 5 years ago
parent
commit
d40d3d29a9
  1. 2
      src/QmlControls/ToolStrip.qml

2
src/QmlControls/ToolStrip.qml

@ -30,9 +30,11 @@ Rectangle { @@ -30,9 +30,11 @@ Rectangle {
function simulateClick(buttonIndex) {
buttonIndex = buttonIndex + 1 // skip over title
if (!toolStripColumn.children[buttonIndex].checked) {
toolStripColumn.children[buttonIndex].checked = true
toolStripColumn.children[buttonIndex].clicked()
}
}
// Ensure we don't get narrower than content
property real _idealWidth: (ScreenTools.isMobile ? ScreenTools.minTouchPixels : ScreenTools.defaultFontPixelWidth * 8) + toolStripColumn.anchors.margins * 2

Loading…
Cancel
Save