summaryrefslogtreecommitdiffstats
path: root/modules/openxr/editor/openxr_select_action_dialog.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-25 12:39:25 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-25 12:39:25 +0200
commit5d5cdc02c591cd0006ae407ef62587a0cf60fe66 (patch)
tree049ac7ec3a357411ba1e8ac933265df84f7e7b71 /modules/openxr/editor/openxr_select_action_dialog.cpp
parent4c5e879cc57c47f6225a22a56a1acdc016c95470 (diff)
parent660ba0578dc1d18e3c7d208a83c13b24aa3064db (diff)
downloadredot-engine-5d5cdc02c591cd0006ae407ef62587a0cf60fe66.tar.gz
Merge pull request #97392 from BastiaanOlij/xr_cleanup_action_map_dialogs
Cleanup of action map dialogs
Diffstat (limited to 'modules/openxr/editor/openxr_select_action_dialog.cpp')
-rw-r--r--modules/openxr/editor/openxr_select_action_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openxr/editor/openxr_select_action_dialog.cpp b/modules/openxr/editor/openxr_select_action_dialog.cpp
index a4ccc98408..89dea09be4 100644
--- a/modules/openxr/editor/openxr_select_action_dialog.cpp
+++ b/modules/openxr/editor/openxr_select_action_dialog.cpp
@@ -66,7 +66,7 @@ void OpenXRSelectActionDialog::_on_select_action(const String p_action) {
void OpenXRSelectActionDialog::open() {
ERR_FAIL_COND(action_map.is_null());
- // out with the old...
+ // Out with the old.
while (main_vb->get_child_count() > 0) {
memdelete(main_vb->get_child(0));
}
@@ -74,6 +74,7 @@ void OpenXRSelectActionDialog::open() {
selected_action = "";
action_buttons.clear();
+ // In with the new.
Array action_sets = action_map->get_action_sets();
for (int i = 0; i < action_sets.size(); i++) {
Ref<OpenXRActionSet> action_set = action_sets[i];