Merge pull request #70360 from dustinsth/fix_import_dialog_text

Fix overlapping text in Advanced Import Settings action dialogs.
This commit is contained in:
Rémi Verschelde 2022-12-21 18:29:17 +01:00
commit 0566afa041
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -958,15 +958,15 @@ void SceneImportSettings::_notification(int p_what) {
void SceneImportSettings::_menu_callback(int p_id) {
switch (p_id) {
case ACTION_EXTRACT_MATERIALS: {
save_path->set_text(TTR("Select folder to extract material resources"));
save_path->set_title(TTR("Select folder to extract material resources"));
external_extension_type->select(0);
} break;
case ACTION_CHOOSE_MESH_SAVE_PATHS: {
save_path->set_text(TTR("Select folder where mesh resources will save on import"));
save_path->set_title(TTR("Select folder where mesh resources will save on import"));
external_extension_type->select(1);
} break;
case ACTION_CHOOSE_ANIMATION_SAVE_PATHS: {
save_path->set_text(TTR("Select folder where animations will save on import"));
save_path->set_title(TTR("Select folder where animations will save on import"));
external_extension_type->select(1);
} break;
}