]> git.zerfleddert.de Git - FreeShisen/blobdiff - src/de/cwde/freeshisen/ShisenSho.java
fix condition for log.d
[FreeShisen] / src / de / cwde / freeshisen / ShisenSho.java
index eb7aee384f0922770ffbc20708ceeec4c65e7264..f24f0c07a623eac9182f6728457922233adf857f 100644 (file)
@@ -118,10 +118,12 @@ public class ShisenSho extends Application {
                        view.loadTileset();
                }
 
-               if (needsReset && (view != null) && (activity != null)) {
-                       activity.onOptionsChanged();
-               } else {
-                       Log.d("ShisenSho", "Preferences changed, but no view or activity online - huh?");
+               if (needsReset) {
+                       if ((view != null) && (activity != null)) {
+                               activity.onOptionsChanged();
+                       } else {
+                               Log.d("ShisenSho", "Preferences changed, but no view or activity online - huh?");
+                       }
                }
 
        }
Impressum, Datenschutz