Переглянути джерело

Fixed unselect Node bug, when edge creation aborted

dominik 8 роки тому
батько
коміт
7feb2730b7

+ 1 - 0
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/ui/ToolboxManager.java

@@ -185,6 +185,7 @@ public final class ToolboxManager {
 		// Unselecet Rows if Creation Mode is None
 		if (Main.getInstance().getCreationMode().equals(CreationMode.CREATE_NONE)) {
 			controller.toolbox.getSelectionModel().clearSelection();
+			Main.getInstance().getGraphManager().deselectEdgeCreationNodes();
 		}
 
 		// set this property to true, so the MouseClickedHandler doesn't also