pygui: service and config service dialogs will now properly show services for default group selected
This commit is contained in:
parent
c761c55ebc
commit
6648dc7825
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue