Fix broking popover refreshing

Mistake in 167c5c6b53, basically making the commit have no effect.
This commit is contained in:
Julian Eisel
2023-07-28 15:24:28 +02:00
parent 9cd60da3cb
commit 1fe45cef91

View File

@@ -117,7 +117,7 @@ static uiBlock *ui_block_func_POPOVER(bContext *C, uiPopupBlockHandle *handle, v
/* Create UI block and layout now if it wasn't done between begin/end. */
if (!pup->layout) {
ui_popover_create_block(C, nullptr, pup, WM_OP_INVOKE_REGION_WIN);
ui_popover_create_block(C, handle->region, pup, WM_OP_INVOKE_REGION_WIN);
if (pup->menu_func) {
pup->block->handle = handle;