diff options
author | kobewi <kobewi4e@gmail.com> | 2020-12-13 23:41:38 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-09-24 14:56:46 +0200 |
commit | f7e152b0010d77445df56f8f28096dad4bc7d704 (patch) | |
tree | 69c68be9d51e0b5f46f9bb99d3fb5d9a519f240b /editor/plugins/item_list_editor_plugin.h | |
parent | fb4fadfd1ea10fa42dd2558d5d66cab3e9acb864 (diff) | |
download | redot-engine-f7e152b0010d77445df56f8f28096dad4bc7d704.tar.gz |
Add Delete All button to ItemList editor
Diffstat (limited to 'editor/plugins/item_list_editor_plugin.h')
-rw-r--r-- | editor/plugins/item_list_editor_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/item_list_editor_plugin.h b/editor/plugins/item_list_editor_plugin.h index 8c77f3d952..8f61aef083 100644 --- a/editor/plugins/item_list_editor_plugin.h +++ b/editor/plugins/item_list_editor_plugin.h @@ -204,6 +204,7 @@ class ItemListEditor : public HBoxContainer { Tree *tree; Button *add_button; Button *del_button; + Button *clear_button; int selected_idx; @@ -213,6 +214,7 @@ class ItemListEditor : public HBoxContainer { void _add_pressed(); void _delete_pressed(); + void _clear_pressed(); void _node_removed(Node *p_node); |