Skip to content

Commit 0741661

Browse files
committed
Gui Editor Order GuiControlProfiles
1 parent a487ddf commit 0741661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/source/gui/editor/guiInspectorTypes.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,14 @@ GuiControl* GuiInspectorTypeGuiProfile::constructEditControl(S32 width)
205205
}
206206
}
207207

208-
retCtrl->getList()->sortByText();
209208
for(U32 j = 0; j < (U32)entries.size(); j++)
210209
{
211210
if(entries[j] != NULL)
212211
{
213212
retCtrl->getList()->addItem(entries[j]);
214213
}
215214
}
215+
retCtrl->getList()->sortByText();
216216
retCtrl->setField("text", getData());
217217

218218
return retCtrl;

0 commit comments

Comments
 (0)