diff --git a/pose_library/gui.py b/pose_library/gui.py index 6449675ca8a91094b66d4ed03049bf90ef8b926a..e54a968a673812778fcfcbfa82f42acbcbb916bd 100644 --- a/pose_library/gui.py +++ b/pose_library/gui.py @@ -115,7 +115,8 @@ def pose_library_list_item_context_menu(self: UIList, context: Context) -> None: props.select = False layout.separator() - layout.operator("asset.open_containing_blend_file") + if is_pose_asset_view(): + layout.operator("asset.open_containing_blend_file") class ASSETBROWSER_PT_pose_library_usage(asset_utils.AssetBrowserSpecificCategoryPanel, Panel):