From 7c57323daf363bc7885cd13cfb088c76a8da7706 Mon Sep 17 00:00:00 2001 From: portree_kid Date: Sun, 4 Oct 2020 22:18:51 +0200 Subject: [PATCH] https://github.com/Portree-Kid/flightgear-airports/issues/93 --- src/renderer/components/LeafletSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/LeafletSidebar.vue b/src/renderer/components/LeafletSidebar.vue index 2f74070..746190d 100644 --- a/src/renderer/components/LeafletSidebar.vue +++ b/src/renderer/components/LeafletSidebar.vue @@ -110,7 +110,7 @@ You should have received a copy of the GNU General Public License along with FG methods: { doCommand (e) { let cmd = String.fromCharCode(e.keyCode).toLowerCase() - if (e.keyCode === 46 /** DEL */) { + if (e.keyCode === 46 /** DEL */ && e.target.type !== 'text') { this.$parent.$parent.$refs.editLayer.deleteFeature() } console.log(cmd)