network: Change color.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-04-05 11:03:48 +02:00
1 parent 77736b0885
commit 37a311b303
1 file changed
+2 -2
+2 -2
View File
@@ -52,7 +52,7 @@ class NodeItem(QGraphicsItem):
# Select color in function of node position in graph and
# status
color = Qt.black
color = Qt.darkBlue
if self.graph.selected_new_edge_src_node() == self:
color = Qt.darkRed
elif self.graph.selected_item() == self:
@@ -139,7 +139,7 @@ class EdgeItem(QGraphicsItem):
return
# Select color
color = Qt.black
color = Qt.darkBlue
if self.graph.selected_item() == self:
color = Qt.red
elif self.graph.current_edge() == self: