diff --git a/src/window.py b/src/window.py index 750432c..6da3077 100644 --- a/src/window.py +++ b/src/window.py @@ -1048,6 +1048,10 @@ class RosterWindow(Adw.ApplicationWindow): def on_environments_updated(dlg): # Reload projects to reflect changes self._load_projects() + # Refresh environment dropdowns in all open tabs for this project + for page, tab_widget in self.page_to_widget.items(): + if tab_widget.project_id == project.id: + tab_widget._populate_environment_dropdown() dialog.connect('environments-updated', on_environments_updated) dialog.present(self)