Skip to content
Snippets Groups Projects
Commit d8af94cd authored by Richard Nelson's avatar Richard Nelson
Browse files

EXT-4128 FIX After using Object Profile, edited objects remain highlighted...

EXT-4128 FIX  After using Object Profile, edited objects remain highlighted when edit floater is closed
parent 94dd5b68
No related branches found
No related tags found
No related merge requests found
...@@ -125,10 +125,8 @@ BOOL LLSidepanelTaskInfo::postBuild() ...@@ -125,10 +125,8 @@ BOOL LLSidepanelTaskInfo::postBuild()
return TRUE; return TRUE;
} }
// virtual /*virtual*/ void LLSidepanelTaskInfo::handleVisibilityChange ( BOOL visible )
void LLSidepanelTaskInfo::setVisible(BOOL visible)
{ {
LLPanel::setVisible(visible);
if (visible) if (visible)
{ {
sActivePanel = this; sActivePanel = this;
...@@ -137,9 +135,12 @@ void LLSidepanelTaskInfo::setVisible(BOOL visible) ...@@ -137,9 +135,12 @@ void LLSidepanelTaskInfo::setVisible(BOOL visible)
else else
{ {
sActivePanel = NULL; sActivePanel = NULL;
// drop selection reference
mObjectSelection = NULL;
} }
} }
void LLSidepanelTaskInfo::disableAll() void LLSidepanelTaskInfo::disableAll()
{ {
childSetEnabled("perm_modify", FALSE); childSetEnabled("perm_modify", FALSE);
......
...@@ -54,7 +54,7 @@ class LLSidepanelTaskInfo : public LLSidepanelInventorySubpanel ...@@ -54,7 +54,7 @@ class LLSidepanelTaskInfo : public LLSidepanelInventorySubpanel
virtual ~LLSidepanelTaskInfo(); virtual ~LLSidepanelTaskInfo();
/*virtual*/ BOOL postBuild(); /*virtual*/ BOOL postBuild();
/*virtual*/ void setVisible(BOOL visible); /*virtual*/ void handleVisibilityChange ( BOOL new_visibility );
void setObjectSelection(LLObjectSelectionHandle selection); void setObjectSelection(LLObjectSelectionHandle selection);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment