cleanup for theming widgets

This commit is contained in:
Blake Harnden 2019-12-16 14:30:38 -08:00
parent dcdcb6a711
commit 5dbd34f230
3 changed files with 14 additions and 12 deletions

View file

@ -168,7 +168,7 @@ class CanvasNode:
is_wlan = self.core_node.type == NodeType.WIRELESS_LAN
is_emane = self.core_node.type == NodeType.EMANE
context = tk.Menu(self.canvas)
themes.style_menu(self.app.style, context)
themes.style_menu(context)
if self.app.core.is_runtime():
context.add_command(label="Configure", command=self.show_config)
if NodeUtils.is_container_node(self.core_node.type):