Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-18 15:42:34 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-18 15:43:10 +0300
commit53f77ae7220ba19e2b300317726a956ab3e98a15 (patch)
tree177275ada1b8608f0ac8b7bfaab022eec2fa9766 /source/blender/windowmanager
parent95a42ccf1c0fb7dff618bf99a1a6389f597479a5 (diff)
macOS/Linux: use more standard button layout in quit dialog
Ref D3118. This matches macOS and GNOME.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 9e9619c698d..850ab743c94 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -3020,13 +3020,13 @@ static uiBlock *block_create__close_file_dialog(struct bContext *C, struct ARegi
else {
/* macOS and Linux standard layout. */
uiLayout *col = uiLayoutColumn(split, false);
- wm_block_file_close_cancel_button(block, post_action);
+ wm_block_file_close_discard_button(block, post_action);
col = uiLayoutColumn(split, false);
uiItemS(col);
col = uiLayoutColumn(split, false);
- wm_block_file_close_discard_button(block, post_action);
+ wm_block_file_close_cancel_button(block, post_action);
col = uiLayoutColumn(split, false);
wm_block_file_close_save_button(block, post_action);