Skip to content

Commit

Permalink
Rule editor: remove keyboard shortcuts when a module is open (#820)
Browse files Browse the repository at this point in the history
Fixes #663.

Signed-off-by: Yannick Schaus <github@schaus.net>
  • Loading branch information
ghys authored Jan 18, 2021
1 parent 9ea40d6 commit 0874f63
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ export default {
},
keyDown (ev) {
if (ev.ctrlKey || ev.metakKey) {
if (this.currentModule) return
switch (ev.keyCode) {
case 68:
this.toggleDisabled()
Expand Down

0 comments on commit 0874f63

Please sign in to comment.