Merge pull request #364 from coreemu/coretk-enhance/fix-bug
Coretk enhance/fix bug
This commit is contained in:
commit
26a03cc758
5 changed files with 50 additions and 5 deletions
|
@ -854,6 +854,11 @@ class CanvasGraph(tk.Canvas):
|
|||
node = CanvasNode(
|
||||
self.master, scaled_x, scaled_y, copy, self.nodes[canvas_nid].image
|
||||
)
|
||||
|
||||
# add new node to modified_service_nodes set if that set contains the to_copy node
|
||||
if self.app.core.service_been_modified(core_node.id):
|
||||
self.app.core.modified_service_nodes.add(copy.id)
|
||||
|
||||
copy_map[canvas_nid] = node.id
|
||||
self.core.canvas_nodes[copy.id] = node
|
||||
self.nodes[node.id] = node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue