Commit 723248be authored by DoinLakeFlyer's avatar DoinLakeFlyer

parent ec864809
...@@ -29,6 +29,7 @@ Rectangle { ...@@ -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()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment