You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix incorrect title and button text in Inherit dialog
This commit is contained in:
@@ -568,6 +568,8 @@ void ScriptCreateDialog::_create() {
|
|||||||
void ScriptCreateDialog::_browse_class_in_tree() {
|
void ScriptCreateDialog::_browse_class_in_tree() {
|
||||||
select_class->set_base_type(base_type);
|
select_class->set_base_type(base_type);
|
||||||
select_class->popup_create(true);
|
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) {
|
void ScriptCreateDialog::_path_changed(const String &p_path) {
|
||||||
|
|||||||
Reference in New Issue
Block a user