diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-28 05:20:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-28 05:21:25 +0300 |
commit | e735894070ac3097628b36984a14654bf1c9bd57 (patch) | |
tree | 3967ea5b0b17e5786d485a53b901f0413d7fd40a /source/blender/windowmanager | |
parent | d7baf8e7e7c26bbd577abe5d71a0da2e796cb6ae (diff) |
UI: rename Quit Prompt to Save Prompt
Eventually this should be used to prompt when loading a new file too.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 55c257038ad..d047057759e 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1810,7 +1810,7 @@ static int wm_exit_blender_exec(bContext *C, wmOperator *UNUSED(op)) static int wm_exit_blender_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event)) { - if (U.uiflag & USER_QUIT_PROMPT) { + if (U.uiflag & USER_SAVE_PROMPT) { wm_quit_with_optional_confirmation_prompt(C, CTX_wm_window(C)); } else { diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index f41ac7807e2..613f5c58f85 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -473,7 +473,7 @@ void wm_quit_with_optional_confirmation_prompt(bContext *C, wmWindow *win) * here (this function gets called outside of normal event handling loop). */ CTX_wm_window_set(C, win); - if (U.uiflag & USER_QUIT_PROMPT) { + if (U.uiflag & USER_SAVE_PROMPT) { if (!wm->file_saved && !G.background) { wm_confirm_quit(C); } |