diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-27 21:47:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 21:47:44 +0100 |
commit | 2f7980c0fe9b0845b6b891062cd0d429a10e4730 (patch) | |
tree | f22ae102d367ab2052d01fbc0c3b276a4c47f551 | |
parent | 4425f7c2c1f3c168edcacfb4e3f1599c2dad10ed (diff) | |
parent | 13da314a64c139b1aed513018437a685d61097e9 (diff) |
Merge pull request #44700 from VedatGunel/fix-title
Fix incorrect title in Inherit dialog
-rw-r--r-- | editor/script_create_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index 9c3e381dc8..2b95231542 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -568,6 +568,8 @@ void ScriptCreateDialog::_create() { void ScriptCreateDialog::_browse_class_in_tree() { select_class->set_base_type(base_type); select_class->popup_create(true); + select_class->set_title(vformat(TTR("Inherit %s"), base_type)); + select_class->get_ok_button()->set_text(TTR("Inherit")); } void ScriptCreateDialog::_path_changed(const String &p_path) { |