From 85e3432579844afa8f76b4071329264f85711507 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Thu, 29 Apr 2010 16:09:00 +0300 Subject: fixed EXT-6736 Notecard floater missing Keep/Discard Buttons (vwr 2.0) Added missing 'Delete' button to the Notecard Preview dialog; reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/330/ --HG-- branch : product-engine --- indra/newview/llpreviewnotecard.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llpreviewnotecard.h') diff --git a/indra/newview/llpreviewnotecard.h b/indra/newview/llpreviewnotecard.h index e0363eef54..98de99aa33 100644 --- a/indra/newview/llpreviewnotecard.h +++ b/indra/newview/llpreviewnotecard.h @@ -83,6 +83,8 @@ protected: virtual void loadAsset(); bool saveIfNeeded(LLInventoryItem* copyitem = NULL); + void deleteNotecard(); + static void onLoadComplete(LLVFS *vfs, const LLUUID& asset_uuid, LLAssetType::EType type, @@ -90,6 +92,8 @@ protected: static void onClickSave(void* data); + static void onClickDelete(void* data); + static void onSaveComplete(const LLUUID& asset_uuid, void* user_data, S32 status, LLExtStat ext_status); -- cgit v1.2.3