summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/MapWidgetContextMenu.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/MapWidgetContextMenu.qml')
-rw-r--r--mobile-widgets/qml/MapWidgetContextMenu.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapWidgetContextMenu.qml b/mobile-widgets/qml/MapWidgetContextMenu.qml
index f40c192f9..767697b79 100644
--- a/mobile-widgets/qml/MapWidgetContextMenu.qml
+++ b/mobile-widgets/qml/MapWidgetContextMenu.qml
@@ -21,6 +21,7 @@ Item {
anchors.fill: parent
onClicked: {
contextMenuImageAnimation.restart()
+ listViewIsVisible = (listViewIsVisible !== 1) ? 1 : 0
}
}
}
@@ -78,4 +79,6 @@ Item {
Behavior on color { ColorAnimation { duration: itemAnimationDuration }}
}
}
+
+ property int listViewIsVisible: -1
}