pygui: sort services in node context menu during runtime
This commit is contained in:
parent
4007dc331b
commit
a5098263fd
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class CanvasNode:
|
|||
)
|
||||
if NodeUtils.is_container_node(self.core_node.type):
|
||||
services_menu = tk.Menu(self.context)
|
||||
for service in self.core_node.services:
|
||||
for service in sorted(self.core_node.services):
|
||||
service_menu = tk.Menu(services_menu)
|
||||
themes.style_menu(service_menu)
|
||||
start_func = functools.partial(self.start_service, service)
|
||||
|
|
Loading…
Reference in a new issue