diff options
Diffstat (limited to 'editor/create_dialog.cpp')
| -rw-r--r-- | editor/create_dialog.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index 31c169a0fb..c41eeb520a 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -57,10 +57,10 @@ void CreateDialog::popup_create(bool p_dont_clear, bool p_replace_mode, const St  	if (p_replace_mode) {  		set_title(vformat(TTR("Change %s Type"), base_type)); -		get_ok_button()->set_text(TTR("Change")); +		set_ok_button_text(TTR("Change"));  	} else {  		set_title(vformat(TTR("Create New %s"), base_type)); -		get_ok_button()->set_text(TTR("Create")); +		set_ok_button_text(TTR("Create"));  	}  	_load_favorites_and_history();  |