pygui: service and config service dialogs will now properly show services for default group selected

This commit is contained in:
Blake Harnden 2020-07-07 08:46:47 -07:00
parent c761c55ebc
commit 6648dc7825
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ class NodeConfigServiceDialog(Dialog):
button.grid(row=0, column=3, sticky="ew")
# trigger group change
self.groups.listbox.event_generate("<<ListboxSelect>>")
self.handle_group_change()
def handle_group_change(self, event: tk.Event = None) -> None:
selection = self.groups.listbox.curselection()

View file

@ -82,7 +82,7 @@ class NodeServiceDialog(Dialog):
button.grid(row=0, column=3, sticky="ew")
# trigger group change
self.groups.listbox.event_generate("<<ListboxSelect>>")
self.handle_group_change()
def handle_group_change(self, event: tk.Event = None) -> None:
selection = self.groups.listbox.curselection()