diff options
author | Damiano Galassi <[email protected]> | 2016-01-21 15:59:31 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-01-21 15:59:31 +0100 |
commit | 8854e65a946d237ec867b7984695214117c81d0a (patch) | |
tree | 55b8a5c0aec5130b57670b572e784bf4296bc8ce /macosx/HBController.m | |
parent | 2eef7441c3bf670d4392c3cbcf887c77a0354aef (diff) |
MacGui: always show the 'scan only title' view in the open panel, 10.11 hides it by default.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r-- | macosx/HBController.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m index 53820dbf7..94f626b7f 100644 --- a/macosx/HBController.m +++ b/macosx/HBController.m @@ -761,6 +761,11 @@ [panel setDirectoryURL:sourceDirectory]; [panel setAccessoryView:self.openTitleView]; + if ([panel respondsToSelector:@selector(isAccessoryViewDisclosed)]) + { + panel.accessoryViewDisclosed = YES; + } + [panel beginSheetModalForWindow:self.window completionHandler: ^(NSInteger result) { if (result == NSFileHandlingPanelOKButton) |