summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.h
diff options
context:
space:
mode:
authorAndrew Polunin <apolunin@productengine.com>2010-05-18 15:19:03 +0300
committerAndrew Polunin <apolunin@productengine.com>2010-05-18 15:19:03 +0300
commitd861768345ff531a69685b71d9e492378d10bc4c (patch)
tree09fe06cf407467711f7eefdc50f387ae34667d0d /indra/newview/llpanelmaininventory.h
parent8ea6cc7dc235184267f265234228981d97e835f9 (diff)
EXT-7381 FIXED (Nothing happens after clicking on some verb buttons of 'My Inventory' side panel)
- \"options_gear_btn\", \"trash_btn\" and \"add_btn\" now initialized using getChild of the main inventory panel (to avoid another break if the \"bottom_panel\"'s control class will be changed again from LLLayoutStack to something other, e. g. reverted back to LLPanel) - mTrashButton member was added (which corresponds to \"trash_btn\" control) to optimize performance a little: LLPanelMainInventory::updateListCommands() updates \"trash_btn\"'s enabled state, so to avoid searching using getChild() again and again, a separate member was created. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/401/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelmaininventory.h')
-rw-r--r--indra/newview/llpanelmaininventory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelmaininventory.h b/indra/newview/llpanelmaininventory.h
index b43e057f83..5a068373f5 100644
--- a/indra/newview/llpanelmaininventory.h
+++ b/indra/newview/llpanelmaininventory.h
@@ -36,6 +36,7 @@
#include "llpanel.h"
#include "llinventoryobserver.h"
+#include "lldndbutton.h"
#include "llfolderview.h"
@@ -145,7 +146,7 @@ protected:
*/
void setUploadCostIfNeeded();
private:
- LLPanel* mListCommands;
+ LLDragAndDropButton* mTrashButton;
LLMenuGL* mMenuGearDefault;
LLMenuGL* mMenuAdd;