mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
network: Minor change.
This commit is contained in:
1 parent
9944159d73
commit
2ed051bb41
1 file changed
+2
-2
@@ -52,7 +52,7 @@ class NodeItem(QGraphicsItem):
|
||||
|
||||
# Select color in function of node position in graph and
|
||||
# status
|
||||
color = Qt.yellow
|
||||
color = Qt.blue
|
||||
if self.graph.selected_new_edge_src_node() == self:
|
||||
color = Qt.darkRed
|
||||
elif self.graph.selected_item() == self:
|
||||
@@ -60,7 +60,7 @@ class NodeItem(QGraphicsItem):
|
||||
elif not self.graph.graph.is_enable_node(self.node):
|
||||
color = Qt.darkGray
|
||||
elif self.graph.graph.is_upstream_node(self.node):
|
||||
color = Qt.blue
|
||||
color = Qt.yellow
|
||||
elif self.graph.graph.is_downstream_node(self.node):
|
||||
color = Qt.green
|
||||
|
||||
|
||||
Reference in new issue
Block a user