Explorar el Código

NodeOfNode rename fix + Switch renameable

Jessey Widhalm hace 8 años
padre
commit
5781dfdb09
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/ui/view/GUI.java

+ 2 - 2
src/ui/view/GUI.java

@@ -922,9 +922,9 @@ public class GUI<E> implements CategoryListener {
 									((HolonSwitch) getActualCps()).setManualState(bTemp);
 								}
 							}
-						} else if (getActualCps() instanceof HolonObject) {
+						}// else if (getActualCps() instanceof AbstractCpsObject) {
 							getActualCps().setName(temp.toString());
-						}
+						//}
 					} else {
 						temp = tableModelProperties.getValueAt(selValueY, selValueX);
 						btemp = tableModelProperties.getValueAt(mousePos.y / tableProperties.getRowHeight(),