Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface_region_menu_popup.c
index b9222a75803a08a94e1ab94845e0151522e67e9a..bdac03de86bbb83ffb6f03004cd8225260672bc9 100644 (file)
@@ -241,6 +241,7 @@ static uiBlock *ui_block_func_POPUP(bContext *C, uiPopupBlockHandle *handle, voi
 
                uiBut *but_activate = NULL;
                UI_block_flag_enable(block, UI_BLOCK_LOOP | UI_BLOCK_NUMSELECT);
 
                uiBut *but_activate = NULL;
                UI_block_flag_enable(block, UI_BLOCK_LOOP | UI_BLOCK_NUMSELECT);
+               UI_block_theme_style_set(block, UI_BLOCK_THEME_STYLE_POPUP);
                UI_block_direction_set(block, direction);
 
                /* offset the mouse position, possibly based on earlier selection */
                UI_block_direction_set(block, direction);
 
                /* offset the mouse position, possibly based on earlier selection */