summaryrefslogtreecommitdiffstats
path: root/modules/openxr/editor/openxr_select_action_dialog.cpp
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2024-09-17 13:01:23 +1000
committerBastiaan Olij <mux213@gmail.com>2024-09-18 10:55:36 +1000
commit660ba0578dc1d18e3c7d208a83c13b24aa3064db (patch)
tree8568d87474be3f085ee921df57460320b09700e9 /modules/openxr/editor/openxr_select_action_dialog.cpp
parent922ae7e7b5fb6c8733a7c03a3c797773f97d9162 (diff)
downloadredot-engine-660ba0578dc1d18e3c7d208a83c13b24aa3064db.tar.gz
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];