Added handleVisibilityChange to LLPanelPermissions
TODO: Find out if this change is worthwhile by checking for log spam
This commit is contained in:
@@ -168,6 +168,14 @@ LLPanelPermissions::~LLPanelPermissions()
|
||||
// base class will take care of everything
|
||||
}
|
||||
|
||||
// virtual
|
||||
void LLPanelPermissions::handleVisibilityChange(BOOL new_visibility)
|
||||
{
|
||||
llwarns << "Hey, does this warning show whenever you switch to this tab?" << llendl; // Find out if the addition of this function is actually worthwhile.
|
||||
if (new_visibility)
|
||||
refresh();
|
||||
LLPanel::handleVisibilityChange(new_visibility);
|
||||
}
|
||||
|
||||
void LLPanelPermissions::refresh()
|
||||
{
|
||||
|
||||
@@ -57,6 +57,7 @@ public:
|
||||
virtual ~LLPanelPermissions();
|
||||
|
||||
virtual BOOL postBuild();
|
||||
virtual void handleVisibilityChange(BOOL new_visibility);
|
||||
|
||||
// MANIPULATORS
|
||||
void refresh(); // refresh all labels as needed
|
||||
|
||||
Reference in New Issue
Block a user