project_files/HedgewarsMobile/Classes/MapConfigViewController.m
changeset 6823 e54a68b9b844
parent 6822 206db098f8c5
child 6829 60b039d88dab
--- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.m	Mon Mar 26 03:24:50 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.m	Mon Mar 26 03:36:11 2012 +0200
@@ -455,7 +455,6 @@
     self.staticMapCommand = nil;
     self.missionCommand = nil;
 
-    self.previewButton = nil;
     self.tableView = nil;
     self.maxLabel = nil;
     self.segmentedControl = nil;
@@ -470,10 +469,10 @@
 
 -(void) didReceiveMemoryWarning {
     self.dataSourceArray = nil;
-    self.previewButton = nil;
     [super didReceiveMemoryWarning];
 
     if (self.view.superview == nil) {
+        self.previewButton = nil;
         self.tableView = nil;
         self.maxLabel = nil;
         self.slider = nil;