CHUI-545: Minor logic fix, inside ::switchIndicator(), make sure that in the case that the parent is visible and the parent makes the visibility changes...that mIndicatorToggled becomes false because the parent has already made the visiblity changes.
parent
2a9056f0b7
commit
37e95e8379
|
|
@ -313,6 +313,8 @@ void LLOutputMonitorCtrl::switchIndicator(bool switch_on)
|
|||
if (getParent() && getParent()->isInVisibleChain())
|
||||
{
|
||||
notifyParentVisibilityChanged();
|
||||
//Ignore toggled state in case it was set when parent visibility was hidden
|
||||
mIndicatorToggled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue