Browse Source

if clicked in a null-Object, no data showed

Edgardo Palza 8 years ago
parent
commit
af2ff75d39
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/ui/view/GUI.java

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

@@ -671,6 +671,8 @@ public class GUI<E> implements CategoryListener {
 					tableModelProperties.addRow(tempCapacity);
 					tableModelProperties.setCellEditable(0, 1, false);
 					tableModelProperties.setCellEditable(2, 1, true);
+				} else if (getActualCps() == null) {
+					deleteRows();
 				}
 			}