Commits

Anonymous committed 71c12cc

Fix bug when loading saved orientation.

Comments (0)

Files changed (1)

Utils/SideViewController.m

 
 - (void)awakeFromNib
 {
+	[splitView setVertical:[[NSUserDefaults standardUserDefaults] boolForKey:[self sideViewVerticalDefaultsKey]]];
+
 	if ([[NSUserDefaults standardUserDefaults] boolForKey:[self showSideViewDefaultsKey]])
 	{
 		[self showSideView];
 	}
-	
-	if (![[NSUserDefaults standardUserDefaults] boolForKey:[self sideViewVerticalDefaultsKey]])
-	{
-		[self toggleVertical:self];
-	}
 }
 
 - (IBAction)toggleSideView:(id)sender