prevent multiple reallocs when building the widget list

This commit is contained in:
Basile Burg 2019-10-30 19:13:08 +01:00
parent 09fe119ff2
commit 6d080bbd7a
1 changed files with 1 additions and 0 deletions

View File

@ -1588,6 +1588,7 @@ begin
getMessageDisplay(fMsgs);
fWidgList.Capacity := 32;
fWidgList.addWidget(@fMesgWidg);
fWidgList.addWidget(@fEditWidg);
fWidgList.addWidget(@fProjWidg);