Skip to content
Permalink
Browse files
8248532: Every time I change keyboard language at my MacBook, Java cr…
…ashes

Reviewed-by: serb, prr
  • Loading branch information
prsadhuk committed Sep 9, 2020
1 parent d560964 commit 6329de45045da3ce937cd22d82e74c3f142ea3f2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1335,7 +1335,7 @@ - (void)setInputMethod:(jobject)inputMethod

NSTextInputContext *curContxt = [NSTextInputContext currentInputContext];
kbdLayout = curContxt.selectedKeyboardInputSource;
[[NSNotificationCenter defaultCenter] addObserver:self
[[NSNotificationCenter defaultCenter] addObserver:[AWTView class]
selector:@selector(keyboardInputSourceChanged:)
name:NSTextInputContextKeyboardSelectionDidChangeNotification
object:nil];

1 comment on commit 6329de4

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 6329de4 Sep 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

Issues

Please sign in to comment.