[Bf-blender-cvs] [72e5082b675] master: UI: Add accelerator keys to quit confirmation popup

Julian Eisel noreply at git.blender.org
Fri Apr 6 01:33:07 CEST 2018


Commit: 72e5082b6757e73b03115677468cb0337a11955d
Author: Julian Eisel
Date:   Thu Apr 5 19:12:28 2018 +0200
Branches: master
https://developer.blender.org/rB72e5082b6757e73b03115677468cb0337a11955d

UI: Add accelerator keys to quit confirmation popup

===================================================================

M	source/blender/windowmanager/intern/wm_window.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 0bfe62c7a8e..06bd60e8692 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -342,7 +342,7 @@ static uiBlock *block_create_confirm_quit(struct bContext *C, struct ARegion *ar
 	uiStyle *style = UI_style_get();
 	uiBlock *block = UI_block_begin(C, ar, "confirm_quit_popup", UI_EMBOSS);
 
-	UI_block_flag_enable(block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_LOOP | UI_BLOCK_NO_WIN_CLIP );
+	UI_block_flag_enable(block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_LOOP | UI_BLOCK_NO_WIN_CLIP | UI_BLOCK_NUMSELECT);
 	UI_block_emboss_set(block, UI_EMBOSS);
 
 	uiLayout *layout = UI_block_layout(



More information about the Bf-blender-cvs mailing list