summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/MapWidget.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml
index 2d6319dd6..a5d7b652f 100644
--- a/mobile-widgets/qml/MapWidget.qml
+++ b/mobile-widgets/qml/MapWidget.qml
@@ -54,17 +54,13 @@ Item {
target: mapItemImage; property: "scale"; from: 0.7; to: 1.0; duration: 80;
}
}
-
- onSourceChanged: {
- if (mapHelper.model.selectedUuid === model.uuid)
- mapItemImageAnimation.restart()
- }
}
MouseArea {
anchors.fill: parent
onClicked: {
mapHelper.model.selectedUuid = model.uuid
+ mapItemImageAnimation.restart()
}
}
}