Do not allow to display NodeCreator via tab in readOnly-Mode

This commit is contained in:
Jan Oberhauser 2020-01-20 10:47:52 -06:00
parent cbf4818fea
commit 965ce74895

View file

@ -376,7 +376,7 @@ export default mixins(
this.createNodeActive = false; this.createNodeActive = false;
this.$store.commit('setActiveNode', null); this.$store.commit('setActiveNode', null);
} else if (e.key === 'Tab') { } else if (e.key === 'Tab') {
this.createNodeActive = !this.createNodeActive; this.createNodeActive = !this.createNodeActive && !this.isReadOnly;
} else if (e.key === this.controlKeyCode) { } else if (e.key === this.controlKeyCode) {
this.ctrlKeyPressed = true; this.ctrlKeyPressed = true;
} else if (e.key === 'F2') { } else if (e.key === 'F2') {