Merge pull request #60804 from RedHeadphone/patch-1
This commit is contained in:
commit
6e07417abb
1 changed files with 1 additions and 1 deletions
|
@ -2712,7 +2712,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
|||
if (!p_confirmed) {
|
||||
bool save_each = EDITOR_GET("interface/editor/save_each_scene_on_quit");
|
||||
if (_next_unsaved_scene(!save_each) == -1) {
|
||||
bool confirm = EDITOR_GET("interface/editor/quit_confirmation");
|
||||
bool confirm = (p_option != RELOAD_CURRENT_PROJECT) && EDITOR_GET("interface/editor/quit_confirmation");
|
||||
if (confirm) {
|
||||
confirmation->get_ok()->set_text(p_option == FILE_QUIT ? TTR("Quit") : TTR("Yes"));
|
||||
confirmation->set_text(p_option == FILE_QUIT ? TTR("Exit the editor?") : TTR("Open Project Manager?"));
|
||||
|
|
Loading…
Reference in a new issue