瀏覽代碼

Fixed unselect Node bug, when edge creation aborted

dominik 8 年之前
父節點
當前提交
7feb2730b7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/ui/ToolboxManager.java

+ 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