summaryrefslogtreecommitdiff
path: root/editor/action_map_editor.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-04 20:39:08 +0200
committerGitHub <noreply@github.com>2022-05-04 20:39:08 +0200
commit640279bdd4450ba2476cd13c48c4ba2e60f5fc06 (patch)
tree807f97042f4a526bfdfe09137ded287aa407db32 /editor/action_map_editor.h
parent38a922a36501bdc34eb73df7c70083940d75a689 (diff)
parent6b878e9aea17e330e51eabf2fbb907c99b6bedeb (diff)
Merge pull request #60738 from LightningAA/disable_input_map_add_button
Diffstat (limited to 'editor/action_map_editor.h')
-rw-r--r--editor/action_map_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/action_map_editor.h b/editor/action_map_editor.h
index b676c55403..15a1501a67 100644
--- a/editor/action_map_editor.h
+++ b/editor/action_map_editor.h
@@ -171,10 +171,13 @@ private:
HBoxContainer *add_hbox = nullptr;
LineEdit *add_edit = nullptr;
+ Button *add_button = nullptr;
void _event_config_confirmed();
void _add_action_pressed();
+ void _add_edit_text_changed(const String &p_name);
+ String _check_new_action_name(const String &p_name);
bool _has_action(const String &p_name) const;
void _add_action(const String &p_name);
void _action_edited();