X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/blobdiff_plain/a4a7750ceaff828b307f73bc805885b4c4df1a89..a8ebc47081a14b3af3e22e3e6123a81e938e79ab:/src/de/cwde/freeshisen/ShisenSho.java diff --git a/src/de/cwde/freeshisen/ShisenSho.java b/src/de/cwde/freeshisen/ShisenSho.java index eb7aee3..f24f0c0 100644 --- a/src/de/cwde/freeshisen/ShisenSho.java +++ b/src/de/cwde/freeshisen/ShisenSho.java @@ -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?"); + } } }