diff --git a/src/QmlControls/ToolStrip.qml b/src/QmlControls/ToolStrip.qml index 067928fb44a7dd4925660b621684b6024580901e..9e10e79dc383e9d3678b793bbeb0f8cf9c770864 100644 --- a/src/QmlControls/ToolStrip.qml +++ b/src/QmlControls/ToolStrip.qml @@ -30,8 +30,10 @@ Rectangle { function simulateClick(buttonIndex) { buttonIndex = buttonIndex + 1 // skip over title - toolStripColumn.children[buttonIndex].checked = true - toolStripColumn.children[buttonIndex].clicked() + if (!toolStripColumn.children[buttonIndex].checked) { + toolStripColumn.children[buttonIndex].checked = true + toolStripColumn.children[buttonIndex].clicked() + } } // Ensure we don't get narrower than content