]> git.zerfleddert.de Git - FreeShisen/blobdiff - src/de/cwde/freeshisen/ShisenSho.java
fix possible nullpointerexception on startup
[FreeShisen] / src / de / cwde / freeshisen / ShisenSho.java
index f4ee58e702e70b5b975d1d6c63aa7104058697f6..d926ff9ed07e4df90fd62b05a862c1f5b851b8bb 100644 (file)
@@ -101,7 +101,7 @@ public class ShisenSho extends Application {
                        needsReset = true;
                }
 
-               if (timeCounter != this.timeCounter) {
+               if ((timeCounter != this.timeCounter) && (view != null)) {
                        this.timeCounter = timeCounter;
                        view.onTimeCounterActivate();
                }
Impressum, Datenschutz