We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502c0a4 commit 751f94bCopy full SHA for 751f94b
plover/oslayer/osx/keyboardlayout.py
@@ -135,7 +135,10 @@ def _layout_watcher(self):
135
class LayoutWatchingCallback(AppKit.NSObject):
136
def layoutChanged_(self, event):
137
log.info("Mac keyboard layout changed, updating")
138
- layout._update_layout()
+ try:
139
+ layout._update_layout()
140
+ except:
141
+ log.warning("error during layout update, ignoring")
142
143
center = Foundation.NSDistributedNotificationCenter.defaultCenter()
144
watcher_callback = LayoutWatchingCallback.new()
0 commit comments