From d3798970199a6b58efc3701785829d17561ea352 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Fri, 23 Feb 2024 02:02:55 +0100 Subject: [PATCH] UI: Improvements to Confirmation of Unpack Linked Libraries A more informative confirmation dialog to confirm that the user wishes to unpack linked libraries. Pull Request: https://projects.blender.org/blender/blender/pulls/117154 --- source/blender/editors/space_info/info_ops.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/space_info/info_ops.cc b/source/blender/editors/space_info/info_ops.cc index f18544f9dc2..e1aad84d435 100644 --- a/source/blender/editors/space_info/info_ops.cc +++ b/source/blender/editors/space_info/info_ops.cc @@ -87,8 +87,13 @@ static int unpack_libraries_exec(bContext *C, wmOperator *op) static int unpack_libraries_invoke(bContext *C, wmOperator *op, const wmEvent * /*event*/) { - return WM_operator_confirm_message( - C, op, "Unpack Linked Libraries - creates directories, all new paths should work"); + return WM_operator_confirm_ex(C, + op, + IFACE_("Restore Packed Linked Data to Their Original Locations"), + IFACE_("Will create directories so that all paths are valid."), + IFACE_("Unpack"), + ALERT_ICON_INFO, + false); } void FILE_OT_unpack_libraries(wmOperatorType *ot)