Pārlūkot izejas kodu

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

Fix gui tree view build visible tree
Daniel Buckmaster 10 gadi atpakaļ
vecāks
revīzija
4769bba003
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      Engine/source/gui/controls/guiTreeViewCtrl.cpp

+ 2 - 0
Engine/source/gui/controls/guiTreeViewCtrl.cpp

@@ -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;
 }