pygui: created a singular func for ordering items on canvas by tags, updates so that drawing edges are behind nodes
This commit is contained in:
parent
50816b3b80
commit
91220078f1
5 changed files with 14 additions and 16 deletions
|
@ -20,7 +20,6 @@ from core.gui.dialogs.emaneinstall import EmaneInstallDialog
|
|||
from core.gui.dialogs.error import ErrorDialog
|
||||
from core.gui.dialogs.mobilityplayer import MobilityPlayer
|
||||
from core.gui.dialogs.sessions import SessionsDialog
|
||||
from core.gui.graph import tags
|
||||
from core.gui.graph.edges import CanvasEdge
|
||||
from core.gui.graph.node import CanvasNode
|
||||
from core.gui.graph.shape import AnnotationData, Shape
|
||||
|
@ -389,9 +388,7 @@ class CoreClient:
|
|||
self.app.canvas.shapes[shape.id] = shape
|
||||
except ValueError:
|
||||
logging.exception("unknown shape: %s", shape_type)
|
||||
|
||||
for tag in tags.ABOVE_WALLPAPER_TAGS:
|
||||
self.app.canvas.tag_raise(tag)
|
||||
self.app.canvas.organize()
|
||||
|
||||
def create_new_session(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue