Fix T45713: Numselect for confirm popup not working anymore

This commit is contained in:
Julian Eisel 2015-08-07 14:39:50 +02:00
parent 44384c698d
commit 20bd253809
Notes: blender-bot 2023-02-14 08:47:33 +01:00
Referenced by issue #45713, Shortcut to confirm "Ok" with keystroke "o" in 'Unwrap (u) -> "follow active quad" (f) -> ok (o)' was removed
1 changed files with 1 additions and 1 deletions

View File

@ -1604,7 +1604,7 @@ static uiBlock *wm_block_dialog_create(bContext *C, ARegion *ar, void *userData)
/* intentionally don't use 'UI_BLOCK_MOVEMOUSE_QUIT', some dialogues have many items
* where quitting by accident is very annoying */
UI_block_flag_enable(block, UI_BLOCK_KEEP_OPEN);
UI_block_flag_enable(block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_NUMSELECT);
layout = UI_block_layout(block, UI_LAYOUT_VERTICAL, UI_LAYOUT_PANEL, 0, 0, data->width, data->height, 0, style);