Prechádzať zdrojové kódy

Fixed crash when selecting graph

Kenneth van Ewijk 11 rokov pred
rodič
commit
3e1107ceea
1 zmenil súbory, kde vykonal 6 pridanie a 2 odobranie
  1. 6 2
      Voorspellingen.java

+ 6 - 2
Voorspellingen.java

@@ -1,4 +1,4 @@
-package weerstation1;
+ 
 
 public class Voorspellingen extends Grootheid{
 	private double barometer;
@@ -86,6 +86,10 @@ public class Voorspellingen extends Grootheid{
         	setCustom("Zware storm");
             setCurrent(90);
         }
-        super.display();
+    }
+    
+    public void displayGraph()
+    {
+        display();
     }
 }