Skip to content
Snippets Groups Projects
Commit 1772dee2 authored by Cinder Biscuits's avatar Cinder Biscuits
Browse files

BUG-3863: Populate the filename field when saving a file on OSX

parent 55ae6a79
No related branches found
No related tags found
No related merge requests found
......@@ -117,6 +117,7 @@ std::string* doSaveDialog(const std::string* file,
std::string *outfile = NULL;
NSURL* url = [NSURL fileURLWithPath:fileName];
[panel setNameFieldStringValue: fileName];
[panel setDirectoryURL: url];
if([panel runModal] ==
NSFileHandlingPanelOKButton)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment