mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-01 12:23:42 +02:00
FPCUnit GUI: Speed up the SaveTree operation. Issue #28229, patch from Serguei Tarassov.
git-svn-id: trunk@49241 -
This commit is contained in:
parent
9a65162f12
commit
f5147983a1
@ -277,6 +277,7 @@ procedure TGUITestRunner.SaveTree;
|
||||
var
|
||||
i: integer;
|
||||
begin
|
||||
FConfStore.CacheUpdates := true;
|
||||
FConfStore.EraseSection(SectionName_TestNodes);
|
||||
for i := 0 to TestTree.Items.Count-1 do
|
||||
begin
|
||||
@ -289,6 +290,7 @@ begin
|
||||
MakeTestPath(TestTree.Items[i]) + '.Expanded',
|
||||
TestTree.Items[i].Expanded);
|
||||
end;
|
||||
FConfStore.UpdateFile;
|
||||
end;
|
||||
|
||||
procedure TGUITestRunner.RestoreTree;
|
||||
|
Loading…
Reference in New Issue
Block a user