mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 19:17:52 +02:00
IDE, SourceEditor: Restore saving (to session) the current active tab of *all* open SourceWindows. (Undone from 907d1a29da
)
(cherry picked from commit 145bfa9c0c
)
This commit is contained in:
parent
9cc28d03c4
commit
5bd8abd32b
@ -3933,7 +3933,8 @@ var
|
||||
begin
|
||||
for i := 0 to AllEditorsInfoCount - 1 do
|
||||
with AllEditorsInfo[i] do
|
||||
IsVisibleTab := (WindowID = AWindowID) and (EditorComponent = AnEditor);
|
||||
if AllEditorsInfo[i].WindowID = AWindowID then
|
||||
IsVisibleTab := (EditorComponent = AnEditor);
|
||||
AnEditorInfo := EditorInfoWithEditorComponent(AnEditor);
|
||||
if AnEditorInfo = nil then Exit(nil);
|
||||
Result := AnEditorInfo.UnitInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user