Fix T45713: Numselect for confirm popup not working anymore
[blender-staging.git] / source / blender / windowmanager / intern / wm_operators.c
index cab9b02d83005d7a70832d02e4e57145c13e551e..19c604170d75fd30099fa852b62cb3a1da239995 100644 (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);