mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 00:49:29 +02:00
ide: fixed duplicating ide coolbar, issue #41199
This commit is contained in:
parent
0aa1b762d3
commit
ddff79db89
@ -78,6 +78,7 @@ begin
|
||||
ButtonCount := XMLConfig.GetValue(SubPath + 'Count', 0);
|
||||
if (FileVersion < 1) and (ButtonCount = 0) then // Old format
|
||||
ButtonCount := XMLConfig.GetValue(SubPath + 'ButtonCount/Value', 0);
|
||||
ButtonNames.Clear;
|
||||
for I := 1 to ButtonCount do
|
||||
begin
|
||||
ButtonName := XMLConfig.GetValue(SubPath + 'Button' + IntToStr(I) + '/Name', '');
|
||||
|
Loading…
Reference in New Issue
Block a user