aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-07-01 06:22:02 +0000
committerBibiko <bibiko@eva.mpg.de>2010-07-01 06:22:02 +0000
commit51881a8ae93b14ac7a3007bcd66bad670e91ba49 (patch)
tree52d727a292b8f29e28687ee625dcda3a5ea1a94c /Source/SPAppController.m
parent8a9e173830a88ac826449640f4f8b871c6b27cb4 (diff)
downloadsequelpro-51881a8ae93b14ac7a3007bcd66bad670e91ba49.tar.gz
sequelpro-51881a8ae93b14ac7a3007bcd66bad670e91ba49.tar.bz2
sequelpro-51881a8ae93b14ac7a3007bcd66bad670e91ba49.zip
• after opening spfs file reset tabBar by looking at setting for SPAlwaysShowWindowTabBar
• fixed CSV Import file display in NSPathControl if SP runs localized - the problem is very likely a bug in [NSPathControl setURL:]; that's why create a new temporary NSPathControl and set the GUI's NSPathControl via [NSPathControl setPathComponentCells:[tempPathControl pathComponentCells]] - this should fix i751 • resized some components in CSV Import sheet to fit for localizations a bit better
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 46709aac..2d719c95 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -406,8 +406,12 @@
// Select active tab
[newWindowController selectTabAtIndex:[[window objectForKey:@"selectedTabIndex"] intValue]];
+
// Reset setHideForSingleTab
- [newWindowController setHideForSingleTab:YES];
+ if([[NSUserDefaults standardUserDefaults] objectForKey:SPAlwaysShowWindowTabBar])
+ [newWindowController setHideForSingleTab:[[NSUserDefaults standardUserDefaults] boolForKey:SPAlwaysShowWindowTabBar]];
+ else
+ [newWindowController setHideForSingleTab:YES];
}