Skip to content

Commit

Permalink
fix: call configure_controller on 'unconfigured' state instead load_c…
Browse files Browse the repository at this point in the history
…ontroller (#1794) (#1797)

(cherry picked from commit 0ba1428)

Co-authored-by: Santosh Govindaraj <75157452+SantoshGovindaraj@users.noreply.github.com>
  • Loading branch information
mergify[bot] and SantoshGovindaraj authored Oct 16, 2024
1 parent 3aa31c5 commit 7b07963
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _on_ctrl_menu(self, pos):
if action is action_configure:
configure_controller(self._node, self._cm_name, ctrl.name)
elif action is action_spawn:
load_controller(self._node, self._cm_name, ctrl.name)
configure_controller(self._node, self._cm_name, ctrl.name)
self._activate_controller(ctrl.name)
else:
# Assume controller isn't loaded
Expand Down

0 comments on commit 7b07963

Please sign in to comment.