mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove Don't save button from "running project" confirmation modal
This commit is contained in:
parent
db66343528
commit
0d56b1c995
1 changed files with 2 additions and 0 deletions
|
|
@ -3115,6 +3115,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||||
unsaved_message = _get_unsaved_scene_dialog_text(scene_filename, started_timestamp);
|
unsaved_message = _get_unsaved_scene_dialog_text(scene_filename, started_timestamp);
|
||||||
confirmation->set_text(unsaved_message + "\n\n" + TTR("Save before reloading the scene?"));
|
confirmation->set_text(unsaved_message + "\n\n" + TTR("Save before reloading the scene?"));
|
||||||
confirmation->popup_centered();
|
confirmation->popup_centered();
|
||||||
|
confirmation_button->show();
|
||||||
confirmation_button->grab_focus();
|
confirmation_button->grab_focus();
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -3204,6 +3205,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||||
}
|
}
|
||||||
confirmation->reset_size();
|
confirmation->reset_size();
|
||||||
confirmation->popup_centered();
|
confirmation->popup_centered();
|
||||||
|
confirmation_button->hide();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue