Force using TextEdit.app to open user phrases, etc.
This commit is contained in:
parent
d1dddc2e8f
commit
77cf2b3afc
|
@ -1570,8 +1570,7 @@ NS_INLINE size_t max(size_t a, size_t b) { return a > b ? a : b; }
|
|||
if (![self _checkUserFiles]) {
|
||||
return;
|
||||
}
|
||||
NSURL *url = [NSURL fileURLWithPath:path];
|
||||
[[NSWorkspace sharedWorkspace] openURL:url];
|
||||
[[NSWorkspace sharedWorkspace] openFile:path withApplication:@"TextEdit"];
|
||||
}
|
||||
|
||||
- (void)openUserPhrases:(id)sender
|
||||
|
|
Loading…
Reference in New Issue