diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-06-23 15:30:48 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-06-23 15:30:48 +0300 |
commit | 08381a276dbf0544692c44236b40f57ec111aefc (patch) | |
tree | 3caf6a9e0176874976e753a4ec5f3df259759553 /indra/newview/llpaneloutfitsinventory.h | |
parent | 6290930c98ace2d3b3d76d3be0a06df718a9a238 (diff) |
EXT-7755 ADDITIONAL FIX Fixed issues with wrong title after an outfit from the Inventory is worn, "Wear..." menu items state is made consistent with "Wear" button.
* Empty string is replaced with "Changing outfits" while changing COF;
* Fixed title to show "No Outfit" after an outfit from the Inventory is worn;
* Fixed bug with visible indicator after an empty folder is DnD from the Inventory "Clothing"
* Updated context and Gear "Wear..." menu items to take into account "isCOFChangeInProgress" state in on_enable callbacks
Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/625/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.h')
-rw-r--r-- | indra/newview/llpaneloutfitsinventory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.h b/indra/newview/llpaneloutfitsinventory.h index eabfda7f8c..287fcbf4bb 100644 --- a/indra/newview/llpaneloutfitsinventory.h +++ b/indra/newview/llpaneloutfitsinventory.h @@ -112,6 +112,9 @@ private: ////////////////////////////////////////////////////////////////////////////////// // List Commands // +public: + BOOL isActionEnabled(const LLSD& command_name); + protected: void initListCommandsHandlers(); void updateListCommands(); @@ -119,7 +122,6 @@ protected: void showGearMenu(); void onTrashButtonClick(); void onClipboardAction(const LLSD& userdata); - BOOL isActionEnabled(const LLSD& command_name); void onCustomAction(const LLSD& command_name); bool handleDragAndDropToTrash(BOOL drop, EDragAndDropType cargo_type, EAcceptance* accept); bool hasItemsSelected(); |