pygui: fix redrawing edge labels for multiple canvases, updated edit menu to account for multiple canvases, fixed issue with not setting menubar state when joining a session, starting point for hide/show nodes and related edges
This commit is contained in:
parent
bc540e0669
commit
35cc8fab65
8 changed files with 83 additions and 23 deletions
|
@ -634,10 +634,10 @@ class CanvasEdge(Edge):
|
|||
if not self.linked_wireless:
|
||||
return
|
||||
if self.id:
|
||||
# self.src.canvas.itemconfig(self.id, state=tk.HIDDEN)
|
||||
self.src.canvas.itemconfig(self.id, state=tk.HIDDEN)
|
||||
self.src.canvas.dtag(self.id, tags.EDGE)
|
||||
if self.id2:
|
||||
# self.dst.canvas.itemconfig(self.id2, state=tk.HIDDEN)
|
||||
self.dst.canvas.itemconfig(self.id2, state=tk.HIDDEN)
|
||||
self.dst.canvas.dtag(self.id2, tags.EDGE)
|
||||
# add antenna to node
|
||||
if self.src.is_wireless() and not self.dst.is_wireless():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue