diff options
author | callum <none@none> | 2009-11-24 14:36:57 -0800 |
---|---|---|
committer | callum <none@none> | 2009-11-24 14:36:57 -0800 |
commit | fd74ba5467967cbdb5f7aca8b476080c66df2cd2 (patch) | |
tree | fac520db60d0b08aea8b803571a04c1a8037803d /indra/newview/llsidetray.h | |
parent | b0a31eaaee10b92df9e5aa80ccfeb25c5e797ac1 (diff) | |
parent | fa88f41cccb9aeb5ccfdafbf5da5b34b72be1108 (diff) |
Merge to tip
Diffstat (limited to 'indra/newview/llsidetray.h')
-rw-r--r-- | indra/newview/llsidetray.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llsidetray.h b/indra/newview/llsidetray.h index 54652c1108..7321574681 100644 --- a/indra/newview/llsidetray.h +++ b/indra/newview/llsidetray.h @@ -120,7 +120,7 @@ public: void setVisible(BOOL visible) { - LLPanel::setVisible(visible); + if (getParent()) getParent()->setVisible(visible); } LLPanel* getButtonsPanel() { return mButtonsPanel; } @@ -141,6 +141,7 @@ public: void processTriState (); + void updateSidetrayVisibility(); protected: LLSideTrayTab* getTab (const std::string& name); @@ -153,10 +154,6 @@ protected: void toggleTabButton (LLSideTrayTab* tab); - void updateSidetrayVisibility(); - - - private: // Implementation of LLDestroyClass<LLSideTray> static void destroyClass() @@ -166,7 +163,6 @@ private: LLSideTray::getInstance()->setEnabled(FALSE); } - private: LLPanel* mButtonsPanel; |