Network: Set unselected edges to black.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-01-31 09:12:23 +01:00
1 parent 34c9fbd77a
commit bf06a9fe43
1 file changed
+2 -1
+2 -1
View File
@@ -174,7 +174,8 @@ class EdgeItem(QGraphicsItem):
return
# Select color
color = Qt.darkBlue
# color = Qt.darkBlue
color = Qt.black
if self.graph.selected_item() == self:
color = Qt.red
elif self.graph.current_edge() == self: