| 5669 | } |
| 5670 | |
| 5671 | void EditorNode::show_accept(const String &p_text, const String &p_title) { |
| 5672 | current_menu_option = -1; |
| 5673 | if (accept) { |
| 5674 | _close_save_scene_progress(); |
| 5675 | accept->set_ok_button_text(p_title); |
| 5676 | accept->set_text(p_text); |
| 5677 | accept->reset_size(); |
| 5678 | EditorInterface::get_singleton()->popup_dialog_centered_clamped(accept, Size2i(), 0.0); |
| 5679 | } |
| 5680 | } |
| 5681 | |
| 5682 | void EditorNode::show_save_accept(const String &p_text, const String &p_title) { |
| 5683 | current_menu_option = -1; |
no test coverage detected