mirror of https://gitlab.com/pamhyr/pamhyr2
Network: Set unselected edges to black.
parent
34c9fbd77a
commit
bf06a9fe43
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue