summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedat Günel <gunel15@itu.edu.tr>2020-12-26 17:58:17 +0300
committerVedat Günel <gunel15@itu.edu.tr>2020-12-26 20:22:20 +0300
commit13da314a64c139b1aed513018437a685d61097e9 (patch)
tree877241e202d316357aa3cb8b67051d8a4025884f
parent6019dab0b45e1291e556e6d9e01b625b5076cc3c (diff)
Fix incorrect title and button text in Inherit dialog
-rw-r--r--editor/script_create_dialog.cpp2
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) {