diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-06-17 12:43:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-17 12:43:27 +0200 |
commit | 3a2e9fdf88964db2d42e84a46d6d09efe75f654f (patch) | |
tree | 7fd622f00f5a01a3bd0bbdff67538bff1d558052 | |
parent | e11fae0bbf08377cae2a250f3c4766c21dfb22e5 (diff) | |
parent | 4bee1d98fa518b75d76cb72a03bb94ab6183f76f (diff) |
Merge pull request #9235 from Kryptocron/issue-9232
Added option to not save a scene when played.
-rw-r--r-- | editor/editor_node.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 297be5e05f..3a0825be9b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1985,9 +1985,10 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) { } break; case FILE_SAVE_BEFORE_RUN: { if (!p_confirmed) { - accept->get_ok()->set_text(TTR("Yes")); - accept->set_text(TTR("This scene has never been saved. Save before running?")); - accept->popup_centered_minsize(); + confirmation->get_cancel()->set_text(TTR("No")); + confirmation->get_ok()->set_text(TTR("Yes")); + confirmation->set_text(TTR("This scene has never been saved. Save before running?")); + confirmation->popup_centered_minsize(); break; } |