Commits

Vadim Savchuk committed 34fe721

STORM-298 FIXED Don't scroll the My Landmarks panel down when favorites get changed.

I'm not sure what the root cause of the problem was (maybe invalid initial selection in folder view),
but what seems to be definitely wrong is passing "scroll to rect" event
from *invisible* folder views up to accordion control, which is what I've fixed.

  • Participants
  • Parent commits b3f356c

Comments (0)

Files changed (1)

File indra/llui/llaccordionctrltab.cpp

 
 			return 1;
 		}
+
+		if (!getDisplayChildren())
+		{
+			// Don't pass scrolling event further if our contents are invisible (STORM-298).
+			return 1;
+		}
 	}
 
 	return LLUICtrl::notifyParent(info);