mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Network: Set unselected edges to black.
This commit is contained in:
1 parent
34c9fbd77a
commit
bf06a9fe43
1 file changed
+2
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user