mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 12:00:15 +02:00
ide: fix crash on opening new unit which lazarus decides as a project unit
git-svn-id: trunk@24457 -
This commit is contained in:
parent
0122b4d687
commit
903275fc98
@ -8588,7 +8588,10 @@ begin
|
||||
if AEditorInfo <> nil then
|
||||
NewEditorInfo := AEditorInfo
|
||||
else
|
||||
NewEditorInfo := NewUnitInfo.GetClosedOrNewEditorInfo;
|
||||
if NewUnitInfo <> nil then
|
||||
NewEditorInfo := NewUnitInfo.GetClosedOrNewEditorInfo
|
||||
else
|
||||
NewEditorInfo := nil;
|
||||
if Handled then exit;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user