Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface_region_popover.c
index 56ec61c5226b897ea5797ecbab0cd49be49e2480..b71152fcd1978d327b7c7af0d262dd667e469209 100644 (file)
@@ -197,6 +197,7 @@ static uiBlock *ui_block_func_POPOVER(bContext *C, uiPopupBlockHandle *handle, v
                /* Not attached to a button. */
                int offset[2] = {0, 0};
                UI_block_flag_enable(block, UI_BLOCK_LOOP);
+               UI_block_theme_style_set(block, UI_BLOCK_THEME_STYLE_POPUP);
                UI_block_direction_set(block, block->direction);
                block->minbounds = UI_MENU_WIDTH_MIN;
                bool use_place_under_active = !handle->refresh;