changes to support nodes containing their configurations, starting with emane, making copying easier and reducing code

This commit is contained in:
Blake Harnden 2020-04-21 00:38:36 -07:00
parent 54eab4576d
commit bd30d0d9ff
5 changed files with 60 additions and 68 deletions

View file

@ -290,7 +290,9 @@ class NodeConfigDialog(Dialog):
button.grid(row=0, column=1, sticky="ew")
def click_emane_config(self, emane_model: str, interface_id: int):
dialog = EmaneModelDialog(self, self.app, self.node, emane_model, interface_id)
dialog = EmaneModelDialog(
self, self.app, self.canvas_node, emane_model, interface_id
)
dialog.show()
def click_icon(self):