~osomon/ubuntu-ui-toolkit/downloadmanager

« back to all changes in this revision

Viewing changes to tests/resources/toolbar/toolbar.qml

Do not trigger a ToolbarButton that is not enabled. Fixes: https://bugs.launchpad.net/bugs/1202245.

Approved by PS Jenkins bot, Christian Dywan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
                iconSource: Qt.resolvedUrl("../../../examples/ubuntu-ui-toolkit-gallery/small_avatar.png")
48
48
                text: "oh"
49
49
                onTriggered: print("lala")
 
50
                enabled: false
50
51
            }
51
52
            ToolbarButton {
52
53
                action: action1