diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-09 05:28:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-09 05:32:20 +0400 |
commit | b105d2ac7fbccd3998c9a01c297edc8ef9fce4cb (patch) | |
tree | 6f3127ea83327bfe7ad9550a60309191b9d610b3 /source/blender/editors/space_info | |
parent | 873f901e5a3d0d10c4cca579ce1f2aaed852b1e8 (diff) |
UI: replace uiPupMenuOkee & uiPupMenuSaveOver with WM_operator_confirm
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r-- | source/blender/editors/space_info/info_ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |