summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-01-21 15:59:31 +0100
committerDamiano Galassi <[email protected]>2016-01-21 15:59:31 +0100
commit8854e65a946d237ec867b7984695214117c81d0a (patch)
tree55b8a5c0aec5130b57670b572e784bf4296bc8ce
parent2eef7441c3bf670d4392c3cbcf887c77a0354aef (diff)
MacGui: always show the 'scan only title' view in the open panel, 10.11 hides it by default.
-rw-r--r--macosx/HBController.m5
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)