UI: Cleanup Dialog to Manage Orphaned Data #106653

Merged
Harley Acheson merged 22 commits from Harley/blender:ManageData into main 2024-01-17 01:09:21 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 0cc6203cfd - Show all commits

View File

@ -2264,7 +2264,7 @@ static void wm_block_orphans_cancel_button(uiBlock *block)
{
uiBut *but = uiDefIconTextBut(
block, UI_BTYPE_BUT, 0, 0, IFACE_("Cancel"), 0, 0, 0, UI_UNIT_Y, 0, 0, 0, 0, 0, "");
UI_but_func_set(but, wm_block_orphans_cancel, block, NULL);
UI_but_func_set(but, wm_block_orphans_cancel, block, nullptr);
UI_but_drawflag_disable(but, UI_BUT_TEXT_LEFT);
UI_but_flag_enable(but, UI_BUT_ACTIVE_DEFAULT);
}
@ -2452,7 +2452,7 @@ static uiBlock *wm_block_create_orphans_cleanup(bContext *C, ARegion *region, vo
static int outliner_orphans_cleanup_exec(bContext *C, wmOperator *op)
{
UI_popup_block_invoke(C, wm_block_create_orphans_cleanup, op, NULL);
UI_popup_block_invoke(C, wm_block_create_orphans_cleanup, op, nullptr);
return OPERATOR_FINISHED;
}