Skip to content
Browse files

Show the SQL/CSV accessory view on import by default on 10.11+, since…

… it is important for the workflow
  • Loading branch information...
dmoagx committed Jul 15, 2018
1 parent cef386b commit 7890262820e1d1faa83b3d906bb18cbe9593ca2a
Showing with 4 additions and 0 deletions.
  1. +4 −0 Source/SPDataImport.m
@@ -261,6 +261,10 @@ - (void)importFile
[importFieldNamesSwitch setState:[[prefs objectForKey:SPCSVImportFirstLineIsHeader] boolValue]];

[openPanel setAccessoryView:importView];
//on os x 10.11+ the accessory view will be hidden by default and has to be made visible
if([openPanel respondsToSelector:@selector(setAccessoryViewDisclosed:)]) {
[openPanel setAccessoryViewDisclosed:YES];
[openPanel setDelegate:self];

if ([prefs valueForKey:@"importFormatPopupValue"]) {

0 comments on commit 7890262

Please sign in to comment.
You can’t perform that action at this time.