summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker_mac.mm
diff options
context:
space:
mode:
authorCinder Biscuits <cinder.roxley@phoenixviewer.com>2013-09-12 04:58:15 +0000
committerCinder Biscuits <cinder.roxley@phoenixviewer.com>2013-09-12 04:58:15 +0000
commit1772dee245cc2531bb0cd820b46535ef39e39f10 (patch)
tree925f1739852819258ef4ccc592b1f51514c7613c /indra/newview/llfilepicker_mac.mm
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
BUG-3863: Populate the filename field when saving a file on OSX
Diffstat (limited to 'indra/newview/llfilepicker_mac.mm')
-rw-r--r--indra/newview/llfilepicker_mac.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfilepicker_mac.mm b/indra/newview/llfilepicker_mac.mm
index 2a84226e0a..13757904e3 100644
--- a/indra/newview/llfilepicker_mac.mm
+++ b/indra/newview/llfilepicker_mac.mm
@@ -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)