From b105d2ac7fbccd3998c9a01c297edc8ef9fce4cb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 9 Feb 2014 12:28:14 +1100 Subject: UI: replace uiPupMenuOkee & uiPupMenuSaveOver with WM_operator_confirm --- source/blender/editors/space_info/info_ops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/editors/space_info/info_ops.c') diff --git a/source/blender/editors/space_info/info_ops.c b/source/blender/editors/space_info/info_ops.c index ac0023e8cc2..25fa31407ff 100644 --- a/source/blender/editors/space_info/info_ops.c +++ b/source/blender/editors/space_info/info_ops.c @@ -188,8 +188,7 @@ static int pack_all_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(ev } if (ima) { - uiPupMenuOkee(C, "FILE_OT_pack_all", "Some images are painted on. These changes will be lost. Continue?"); - return OPERATOR_CANCELLED; + return WM_operator_confirm_message(C, op, "Some images are painted on. These changes will be lost. Continue?"); } return pack_all_exec(C, op); -- cgit v1.2.3