소스 검색

Fixed crash when selecting graph

Kenneth van Ewijk 11 년 전
부모
커밋
3e1107ceea
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  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();
     }
 }