Fix variable indicators showing all vars as undefined when opening saved request in new tab
This commit is contained in:
parent
fd07c2bc7e
commit
97a3336e4f
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user