diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2021-05-05 22:49:35 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2021-05-05 23:33:24 +0300 |
commit | c316a515ed70c6449040e17579bc92998b35d8da (patch) | |
tree | 808459cdbeaaa902dd1c1292dbf88673872a2907 /editor/action_map_editor.h | |
parent | 6fc14e5b317667c376e78d2a6a958d663de803a6 (diff) | |
download | redot-engine-c316a515ed70c6449040e17579bc92998b35d8da.tar.gz |
Improve ActionMapEditor
- CheckBox replaced with CheckButton.
- Removed unnecessary code.
Diffstat (limited to 'editor/action_map_editor.h')
-rw-r--r-- | editor/action_map_editor.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/editor/action_map_editor.h b/editor/action_map_editor.h index f1f7bffef4..fb097ddfdd 100644 --- a/editor/action_map_editor.h +++ b/editor/action_map_editor.h @@ -156,11 +156,10 @@ private: // Filtering and Adding actions - bool show_uneditable; - CheckBox *show_uneditable_actions_checkbox; + bool show_builtin_actions; + CheckButton *show_builtin_actions_checkbutton; LineEdit *action_list_search; - bool allow_editing_actions; HBoxContainer *add_hbox; LineEdit *add_edit; @@ -190,10 +189,7 @@ public: void update_action_list(const Vector<ActionInfo> &p_action_infos = Vector<ActionInfo>()); void show_message(const String &p_message); - void set_show_uneditable(bool p_show); - void set_allow_editing_actions(bool p_allow); - - void set_toggle_editable_label(const String &p_label); + void set_show_builtin_actions(bool p_show); void use_external_search_box(LineEdit *p_searchbox); |