Commit bf06a9fe authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Network: Set unselected edges to black.

Showing with 2 additions and 1 deletion
+2 -1
...@@ -174,7 +174,8 @@ class EdgeItem(QGraphicsItem): ...@@ -174,7 +174,8 @@ class EdgeItem(QGraphicsItem):
return return
# Select color # Select color
color = Qt.darkBlue # color = Qt.darkBlue
color = Qt.black
if self.graph.selected_item() == self: if self.graph.selected_item() == self:
color = Qt.red color = Qt.red
elif self.graph.current_edge() == self: elif self.graph.current_edge() == self:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment