Fix incorrect title and button text in Inherit dialog

This commit is contained in:
Vedat Günel 2020-12-26 17:58:17 +03:00
parent 6019dab0b4
commit 13da314a64

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