From 861f447056f82d42832c4ce635ec0433bf5ded6e Mon Sep 17 00:00:00 2001 From: Benjamin Kreuscher Date: Sat, 26 Apr 2025 23:01:39 +0200 Subject: [PATCH] trigger event to set value-list of countries at the end of GUI initialization --- wahoomc/input.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wahoomc/input.py b/wahoomc/input.py index 80826f73..25bc55bc 100644 --- a/wahoomc/input.py +++ b/wahoomc/input.py @@ -378,6 +378,9 @@ def __init__(self, parent, oInputData): column=0, row=3, sticky=tk.E, padx=5, pady=2) self.en_max_days_old.grid(column=1, row=3, sticky=tk.W, padx=10) + # trigger event to set value-list of countries at the end of GUI initialization + self.cb_continent.event_generate("<>") + def callback_continent(self, event): # pylint: disable=unused-argument """ set value-list of countries after changing continent