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]) {
|
if (![self _checkUserFiles]) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
NSURL *url = [NSURL fileURLWithPath:path];
|
[[NSWorkspace sharedWorkspace] openFile:path withApplication:@"TextEdit"];
|
||||||
[[NSWorkspace sharedWorkspace] openURL:url];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)openUserPhrases:(id)sender
|
- (void)openUserPhrases:(id)sender
|
||||||
|
|
Loading…
Reference in New Issue