mirror of https://gitlab.com/basile.b/dexed.git
prevent multiple reallocs when building the widget list
This commit is contained in:
parent
09fe119ff2
commit
6d080bbd7a
|
@ -1588,6 +1588,7 @@ begin
|
|||
|
||||
getMessageDisplay(fMsgs);
|
||||
|
||||
fWidgList.Capacity := 32;
|
||||
fWidgList.addWidget(@fMesgWidg);
|
||||
fWidgList.addWidget(@fEditWidg);
|
||||
fWidgList.addWidget(@fProjWidg);
|
||||
|
|
Loading…
Reference in New Issue