[Bf-blender-cvs] [53f77ae7220] master: macOS/Linux: use more standard button layout in quit dialog
Brecht Van Lommel
noreply at git.blender.org
Sat May 18 14:49:00 CEST 2019
Commit: 53f77ae7220ba19e2b300317726a956ab3e98a15
Author: Brecht Van Lommel
Date: Sat May 18 14:42:34 2019 +0200
Branches: master
https://developer.blender.org/rB53f77ae7220ba19e2b300317726a956ab3e98a15
macOS/Linux: use more standard button layout in quit dialog
Ref D3118. This matches macOS and GNOME.
===================================================================
M source/blender/windowmanager/intern/wm_files.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list