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:
authorJulian Eisel <eiseljulian@gmail.com>2018-04-05 20:12:28 +0300
committerJulian Eisel <eiseljulian@gmail.com>2018-04-05 20:15:37 +0300
commit72e5082b6757e73b03115677468cb0337a11955d (patch)
tree460f798d0d0c903a6825f644a41ec98db8bc3d4e
parenteb7b70113770395a6b94d86709d5cc416cbed4ed (diff)
UI: Add accelerator keys to quit confirmation popup
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
1 files changed, 1 insertions, 1 deletions
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(