mirror of
https://github.com/HackPlan/quark-shell-mac.git
synced 2026-04-30 04:25:46 +08:00
Use relativePath instead of absoluteString.
This commit is contained in:
@@ -546,7 +546,7 @@ static const NSInteger kPreferencesDefaultHeight = 192;
|
||||
[openPanel beginWithCompletionHandler:^(NSInteger result) {
|
||||
if (result == NSFileHandlingPanelOKButton) {
|
||||
NSURL *fileURL = openPanel.URL;
|
||||
[resultListener chooseFilename:fileURL.absoluteString];
|
||||
[resultListener chooseFilename:fileURL.relativePath];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user