Changeset 6148 for code/branches/menu
- Timestamp:
- Nov 25, 2009, 3:44:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/menu/data/gui/scripts/InitialiseGUI.lua
r6048 r6148 174 174 if root ~= nil then 175 175 local child 176 for i=0,root:getChildCount()-1 do 177 child = root:getChildAtIdx(i) 176 while root:getChildCount()~=0 do 177 debug(root:getChildCount()) 178 child = root:getChildAtIdx(0) 178 179 root:removeChildWindow(child) 179 180 newroot:addChildWindow(child)
Note: See TracChangeset
for help on using the changeset viewer.