Added warning in Integration settings when autotype is not available

This commit is contained in:
Michael Starke
2018-09-26 15:09:21 +02:00
parent 182f448535
commit bf68afb457
4 changed files with 204 additions and 122 deletions

View File

@@ -100,8 +100,8 @@ static MPAutotypeDaemon *_sharedInstance;
}
- (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
[[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver:self];
[NSNotificationCenter.defaultCenter removeObserver:self];
[NSWorkspace.sharedWorkspace.notificationCenter removeObserver:self];
[self unbind:NSStringFromSelector(@selector(enabled))];
[self unbind:NSStringFromSelector(@selector(hotKeyData))];
}