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) (#1798)

(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 1fbe5e6 commit 1a1ce2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,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 1a1ce2f

Please sign in to comment.