Merge pull request #44700 from VedatGunel/fix-title

Fix incorrect title in Inherit dialog
This commit is contained in:
Rémi Verschelde 2020-12-27 21:47:44 +01:00 committed by GitHub
commit 2f7980c0fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {