mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 18:49:19 +02:00
Project.pp: Fixed re-opening session with multiply windows
git-svn-id: trunk@24212 -
This commit is contained in:
parent
508e666df5
commit
5f46559cad
@ -3512,6 +3512,7 @@ begin
|
|||||||
AnUnitInfo:=TUnitInfo(List[i]);
|
AnUnitInfo:=TUnitInfo(List[i]);
|
||||||
if (AnUnitInfo.WindowIndex <> CurWindow) then
|
if (AnUnitInfo.WindowIndex <> CurWindow) then
|
||||||
inc(NewWindow);
|
inc(NewWindow);
|
||||||
|
CurWindow := AnUnitInfo.WindowIndex;
|
||||||
if (NewWindowEditorIndexAtStart < 0)
|
if (NewWindowEditorIndexAtStart < 0)
|
||||||
and (ActiveWindowIndexAtStart = AnUnitInfo.WindowIndex)
|
and (ActiveWindowIndexAtStart = AnUnitInfo.WindowIndex)
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user