Swapped disableEdit & save (needs vertices)

This commit is contained in:
portree_kid 2020-01-25 08:37:46 +01:00
parent f2a357780b
commit b9d3908416

View File

@ -31,8 +31,8 @@
}, },
save () { save () {
this.editing = false this.editing = false
this.$parent.$parent.$refs.editLayer.disableEdit()
this.$parent.$parent.$refs.editLayer.save() this.$parent.$parent.$refs.editLayer.save()
this.$parent.$parent.$refs.editLayer.disableEdit()
}, },
drawPolyline () { drawPolyline () {
this.$parent.$parent.$refs.editLayer.drawPolyline() this.$parent.$parent.$refs.editLayer.drawPolyline()