Network: Set unselected edges to black.

setup.py
Pierre-Antoine Rouby 2024-01-31 09:12:23 +01:00
parent 34c9fbd77a
commit bf06a9fe43
1 changed files with 2 additions and 1 deletions

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: