cocoaTouch/SettingsViewController.m
changeset 3113 2829ea0dd47c
parent 2805 36a8cebb91e8
--- a/cocoaTouch/SettingsViewController.m	Sat Mar 27 15:48:59 2010 +0000
+++ b/cocoaTouch/SettingsViewController.m	Sat Mar 27 16:57:18 2010 +0000
@@ -88,7 +88,7 @@
 // Override to allow orientations other than the default portrait orientation.
 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
     // Return YES for supported orientations
-    return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
+    return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
 }
 
 // makes the keyboard go away when background is tapped
@@ -138,6 +138,7 @@
 
 -(void) returnMainView {
 	[self flushData];
+    //[self dismissModalViewControllerAnimated:YES]
 
 	[UIView beginAnimations:@"Get Back" context:NULL];
 	[UIView setAnimationDuration:1];