diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2017-12-28 22:43:53 -0200 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-01-03 13:33:25 -0200 |
commit | a6a2ea7a5e42df6ef78216d2cdf13f0d85b9b664 (patch) | |
tree | e5ee4809a05a526bd9c484ac8f11a0ad59071859 /editor/create_dialog.h | |
parent | 2488aff93f93deda27c99cf4811986afeb973438 (diff) | |
download | redot-engine-a6a2ea7a5e42df6ef78216d2cdf13f0d85b9b664.tar.gz |
Made the Create Dialog be clearer when it's changing a type of something.
Diffstat (limited to 'editor/create_dialog.h')
-rw-r--r-- | editor/create_dialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/create_dialog.h b/editor/create_dialog.h index 56ba7f8a3e..ed23fb4ae8 100644 --- a/editor/create_dialog.h +++ b/editor/create_dialog.h @@ -52,6 +52,7 @@ class CreateDialog : public ConfirmationDialog { Button *favorite; LineEdit *search_box; Tree *search_options; + bool is_replace_mode; String base_type; String preferred_search_result_type; EditorHelpBit *help_bit; @@ -97,7 +98,7 @@ public: void set_preferred_search_result_type(const String &p_preferred_type); String get_preferred_search_result_type(); - void popup_create(bool p_dontclear); + void popup_create(bool p_dont_clear, bool p_replace_mode = false); CreateDialog(); }; |