changeset 1058:5a43d5602d14 crossprofile

deselecting morph closes splitscreen
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 25 Oct 2018 16:58:03 +0200
parents 7242b5a427bc
children 51d412a79e4f
files client/src/morphtool/Morphtool.vue
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/morphtool/Morphtool.vue	Thu Oct 25 16:52:18 2018 +0200
+++ b/client/src/morphtool/Morphtool.vue	Thu Oct 25 16:58:03 2018 +0200
@@ -180,6 +180,8 @@
     clearSelection() {
       this.$store.commit("identifystore/setIdentifiedFeatures", []);
       this.$store.commit("fairwayprofile/setSelectedMorph", null);
+      this.$store.commit("fairwayprofile/clearCurrentProfile");
+      this.$store.commit("application/closeSplitScreen");
       this.surveyList = null;
       if (this.drawMode) {
         this.$store.commit("application/toggleDrawModeLine");