diff --git a/src/window.py b/src/window.py index c1e86dd..750432c 100644 --- a/src/window.py +++ b/src/window.py @@ -372,6 +372,10 @@ class RosterWindow(Adw.ApplicationWindow): # Populate environment dropdown if project_id is set if project_id and hasattr(widget, '_populate_environment_dropdown'): widget._populate_environment_dropdown() + # Re-run indicator update now that project_manager is injected; + # the earlier call in __init__ ran with project_manager=None and + # incorrectly marked all variables as undefined. + widget._update_variable_indicators() # Connect to send button widget.send_button.connect("clicked", lambda btn: self._on_send_clicked(widget))