on xenial help sign in
Cimi wants more if
commit7a0ab975def653c8887c15bba7554eb6accaa493 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 8 Jul 2015, 14:52 (11 years ago) parentd7ef06c
1 file changed+5−2
tests/qmltests/Dash/Previews/tst_PreviewIconActions.qml+5−2
tests/qmltests/Dash/Previews/tst_PreviewIconActions.qml+5−2
@@ -44,7 +44,9 @@ Rectangle {
4444 widgetData: actionDataActions
4545 onTriggered: {
4646 if (timer.index !== -1) {
47− console.log("Processing other click, ignoring");
47+ if (!testcase.running) {
48+ console.log("Processing other click, ignoring");
49+ }
4850 return;
4951 }
5052
@@ -56,8 +58,9 @@ Rectangle {
5658 }
5759
5860 timer.start();
59− if (!testcase.running)
61+ if (!testcase.running) {
6062 console.log("triggered", widgetId, actionId);
63+ }
6164 }
6265 width: parent.width
6366 clip: true