IDE: let view units behaves same as when unit is activated from windows main ide menu.

git-svn-id: trunk@35580 -
This commit is contained in:
zeljko 2012-02-24 13:46:20 +00:00
parent 409ca1a915
commit a9cbd3a292

View File

@ -9940,9 +9940,7 @@ begin
end;
end; { for }
if (AnUnitInfo <> nil) and (not OnlyForms) then
begin
SourceEditorManager.ShowActiveWindowOnTop(False);
end;
SourceEditorManager.ShowActiveWindowOnTop(True);
end; { if ShowViewUnitDlg... }
finally
for i := 0 to UnitList.Count-1 do