mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:59:06 +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);
|
ButtonCount := XMLConfig.GetValue(SubPath + 'Count', 0);
|
||||||
if (FileVersion < 1) and (ButtonCount = 0) then // Old format
|
if (FileVersion < 1) and (ButtonCount = 0) then // Old format
|
||||||
ButtonCount := XMLConfig.GetValue(SubPath + 'ButtonCount/Value', 0);
|
ButtonCount := XMLConfig.GetValue(SubPath + 'ButtonCount/Value', 0);
|
||||||
|
ButtonNames.Clear;
|
||||||
for I := 1 to ButtonCount do
|
for I := 1 to ButtonCount do
|
||||||
begin
|
begin
|
||||||
ButtonName := XMLConfig.GetValue(SubPath + 'Button' + IntToStr(I) + '/Name', '');
|
ButtonName := XMLConfig.GetValue(SubPath + 'Button' + IntToStr(I) + '/Name', '');
|
||||||
|
Loading…
Reference in New Issue
Block a user