UI: Add accelerator keys to quit confirmation popup

This commit is contained in:
Julian Eisel 2018-04-05 19:12:28 +02:00
parent eb7b701137
commit 72e5082b67
Notes: blender-bot 2023-02-14 08:08:54 +01:00
Referenced by issue #54519, No hotkey to confirm quit popup
1 changed files with 1 additions and 1 deletions

View File

@ -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(