Project.pp: Fixed re-opening session with multiply windows

git-svn-id: trunk@24212 -
This commit is contained in:
martin 2010-03-25 19:09:06 +00:00
parent 508e666df5
commit 5f46559cad

View File

@ -3512,6 +3512,7 @@ begin
AnUnitInfo:=TUnitInfo(List[i]);
if (AnUnitInfo.WindowIndex <> CurWindow) then
inc(NewWindow);
CurWindow := AnUnitInfo.WindowIndex;
if (NewWindowEditorIndexAtStart < 0)
and (ActiveWindowIndexAtStart = AnUnitInfo.WindowIndex)
then