summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2017-04-12 19:06:30 +0200
committerAleix Pol <[email protected]>2017-04-12 19:06:30 +0200
commit146df22e2b2616805786d02811e5218028f55f2a (patch)
treeebed99274451ee00b5a4006962224b8a2edc0a60
parent050451f172c0a107a763b8ca9272966001fb7484 (diff)
Make sure we just run the tests once
-rw-r--r--discover/autotests/DiscoverTest.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/autotests/DiscoverTest.qml b/discover/autotests/DiscoverTest.qml
index 0265704..0b66c53 100644
--- a/discover/autotests/DiscoverTest.qml
+++ b/discover/autotests/DiscoverTest.qml
@@ -104,7 +104,7 @@ Item
target: ResourcesModel
property bool done: false
onIsFetchingChanged: {
- if (ResourcesModel.isFetching)
+ if (ResourcesModel.isFetching || done)
return;
done = true;