diff options
author | Lars Næsbye Christensen <lars@naesbye.dk> | 2024-02-21 22:30:52 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-22 00:28:12 +0200 |
commit | 7704c26354a00d4979eef2456a86e88ebd2580c3 (patch) | |
tree | 612137ec63f734b3b4b597197c4a12d5c56de7e2 /indra/newview/llfilepicker_mac.mm | |
parent | 67a9d886460a0053b23ef004fda3bd5dffcbb74e (diff) |
newer enum for modal OK response
Diffstat (limited to 'indra/newview/llfilepicker_mac.mm')
-rw-r--r-- | indra/newview/llfilepicker_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfilepicker_mac.mm b/indra/newview/llfilepicker_mac.mm index 4dd8bea4e1..b21bc724fb 100644 --- a/indra/newview/llfilepicker_mac.mm +++ b/indra/newview/llfilepicker_mac.mm @@ -121,7 +121,7 @@ void doLoadDialogModeless(const std::vector<std::string>* allowed_types, [panel beginWithCompletionHandler:^(NSModalResponse result) { std::vector<std::string> outfiles; - if (result == NSOKButton) + if (result == NSModalResponseOK) { NSArray *filesToOpen = [panel URLs]; int i, count = [filesToOpen count]; |