Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Merge pull request #117849 from WoodWood1299/nonresizable-confirmation-dialogue

Thaddeus Crews32159caaf401
diff --cc editor/export/project_export.cpp
index 9cc4834a842,d77eafa89ce..305889a675b
--- a/editor/export/project_export.cpp
+++ b/editor/export/project_export.cpp
@@@ -1978,15 -1968,16 +1978,16 @@@ ProjectExportDialog::ProjectExportDialo
export_button->set_disabled(true);
export_all_dialog = memnew(ConfirmationDialog);
+ export_all_dialog->set_flag(Window::FLAG_RESIZE_DISABLED, true);
add_child(export_all_dialog);
- export_all_dialog->set_title(TTR("Export All"));
- export_all_dialog->set_text(TTR("Choose an export mode:"));
+ export_all_dialog->set_title(TTRC("Export All"));
+ export_all_dialog->set_text(TTRC("Choose an export mode:"));
export_all_dialog->get_ok_button()->hide();
- export_all_dialog->add_button(TTR("Debug"), true, "debug");
- export_all_dialog->add_button(TTR("Release"), true, "release");
+ export_all_dialog->add_button(TTRC("Debug"), true, "debug");
+ export_all_dialog->add_button(TTRC("Release"), true, "release");
export_all_dialog->connect("custom_action", callable_mp(this, &ProjectExportDialog::_export_all_dialog_action));
- export_all_button = add_button(TTR("Export All..."), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "export");
+ export_all_button = add_button(TTRC("Export All..."), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "export");
export_all_button->connect(SceneStringName(pressed), callable_mp(this, &ProjectExportDialog::_export_all_dialog));
export_all_button->set_disabled(true);