IDE: setup dialog: always switch to first error

git-svn-id: branches/fixes_1_6@50717 -
This commit is contained in:
mattias 2015-12-09 16:04:37 +00:00
parent ca42e581e6
commit fa0e3b0619

View File

@ -1317,12 +1317,10 @@ begin
UpdateDebuggerNote;
// select first error
if PropertiesTreeView.Selected=nil then begin
Node:=FirstErrorNode;
if Node=nil then
Node:=TVNodeLazarus;
PropertiesTreeView.Selected:=Node;
end;
Node:=FirstErrorNode;
if Node=nil then
Node:=TVNodeLazarus;
PropertiesTreeView.Selected:=Node;
end;
end.