mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 17:29:40 +02:00
Components, FPCUnit: select first item in test tree in order to immediately activate 'Run All tests' button, patch by Reinier Olislagers, bug #22905
git-svn-id: trunk@38740 -
This commit is contained in:
parent
1f7e4e5c2e
commit
0cf8665e4c
@ -250,6 +250,10 @@ begin
|
||||
MenuItem1.Caption:= smiCopy;
|
||||
MenuItem2.Caption:= smiCut;
|
||||
MenuItem3.Caption:= smiCopyClipbrd;
|
||||
// Select the first entry in the tree in order to immediately activate the
|
||||
// Run All tests button:
|
||||
if TestTree.Items.Count>0 then
|
||||
TestTree.Items.SelectOnlyThis(TestTree.Items[0]);
|
||||
end;
|
||||
|
||||
procedure TGUITestRunner.RunExecute(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user