project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 4362 8dae325dc625
parent 4115 222b8016c773
child 4476 4bf74e158f44
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Sun Nov 28 01:58:43 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Sun Nov 28 23:49:09 2010 +0100
@@ -111,7 +111,11 @@
                                                     cancelButtonTitle:cancelStr
                                                destructiveButtonTitle:confirmStr
                                                     otherButtonTitles:nil];
-    [actionSheet showInView:self.view];
+
+    if (IS_IPAD())
+        [actionSheet showFromBarButtonItem:(UIBarButtonItem *)sender animated:YES];
+    else
+        [actionSheet showInView:self.view];
     [actionSheet release];
 }