Merge pull request #958 from skaughtx0r/Fix-GuiTreeView-buildVisibleTree

Fix gui tree view build visible tree
This commit is contained in:
Daniel Buckmaster 2014-11-23 15:52:31 +11:00
commit 4769bba003

View file

@ -1785,6 +1785,8 @@ bool GuiTreeViewCtrl::onWake()
// make sure it's big enough for both bitmap AND font...
mItemHeight = getMax((S32)mFont->getHeight(), (S32)mProfile->mBitmapArrayRects[0].extent.y);
}
mFlags.set(RebuildVisible);
return true;
}