Skip to content

Commit

Permalink
Merge pull request #382 from lis0r/commandfix
Browse files Browse the repository at this point in the history
GUI: fix paste by ignoring appropriately modified alphanumeric events.
  • Loading branch information
JohannesTaelman committed Feb 6, 2017
2 parents 80370d2 + 48c1386 commit 4de2b63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/components/control/DialComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,10 @@ public void keyPressed(KeyEvent ke) {
case 'X':
case 'z':
case 'Z':
keybBuffer += ke.getKeyChar();
ke.consume();
if (!KeyUtils.isControlOrCommandDown(ke)) {
keybBuffer += ke.getKeyChar();
ke.consume();
}
break;
default:
}
Expand Down

0 comments on commit 4de2b63

Please sign in to comment.