Revert "Stop using IMK's showPreferences:"
This reverts commit 69e463958e
.
This commit is contained in:
parent
65b106ce88
commit
5ff3efb385
|
@ -1436,7 +1436,11 @@ public:
|
||||||
- (void)showPreferences:(id)sender
|
- (void)showPreferences:(id)sender
|
||||||
{
|
{
|
||||||
// show the preferences panel, and also make the IME app itself the focus
|
// show the preferences panel, and also make the IME app itself the focus
|
||||||
[(AppDelegate *)[NSApp delegate] showPreferences];
|
if ([IMKInputController instancesRespondToSelector:@selector(showPreferences:)]) {
|
||||||
|
[super showPreferences:sender];
|
||||||
|
} else {
|
||||||
|
[(AppDelegate *)[NSApp delegate] showPreferences];
|
||||||
|
}
|
||||||
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
|
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue