macOS/Linux: use more standard button layout in quit dialog

Ref D3118. This matches macOS and GNOME.
This commit is contained in:
Brecht Van Lommel 2019-05-18 14:42:34 +02:00
parent 95a42ccf1c
commit 53f77ae722
1 changed files with 2 additions and 2 deletions

View File

@ -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);