Explorar el Código

aktuelles ding

Kevin Trometer hace 8 años
padre
commit
c86666b962
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/ui/view/GUI.java

+ 1 - 0
src/ui/view/GUI.java

@@ -363,6 +363,7 @@ public class GUI<E> implements CategoryListener {
 					unitGraph.repaintWithNewElement(ele);
 					unitGraph.repaintWithNewElement(ele);
 				} else {
 				} else {
 					elementGraph.setText("None ");
 					elementGraph.setText("None ");
+					unitGraph.empty();
 				}
 				}
 				// if any HolonElement is double-clicked --> Edit instance of
 				// if any HolonElement is double-clicked --> Edit instance of
 				// selected HolonElement
 				// selected HolonElement