simplify title of create/change node dialog

The create dialog in replace mode now always has the title `Change type of "%s"`, where `%s` is either "MyNodeName" or "MyVisualScript.vs".
This commit is contained in:
Nathan Franke 2022-08-22 19:03:19 -05:00
parent 5803a1ddc5
commit a258101971
No known key found for this signature in database
GPG key ID: 082B90CF10A5B648
2 changed files with 4 additions and 8 deletions

View file

@ -120,7 +120,7 @@ public:
void set_preferred_search_result_type(const String &p_preferred_type) { preferred_search_result_type = p_preferred_type; }
String get_preferred_search_result_type() { return preferred_search_result_type; }
void popup_create(bool p_dont_clear, bool p_replace_mode = false, const String &p_select_type = "Node", const String &p_select_name = "");
void popup_create(bool p_dont_clear, bool p_replace_mode = false, const String &p_current_type = "", const String &p_current_name = "");
CreateDialog();
};