diff --git a/components/todolist/todolist.pas b/components/todolist/todolist.pas index c6cb33833e..a8e6a78d66 100644 --- a/components/todolist/todolist.pas +++ b/components/todolist/todolist.pas @@ -300,7 +300,7 @@ begin end; ResolveIDEItem(CurOwner,CurProject,CurPkg); - Assert(Assigned(CurOwner), 'TIDETodoWindow.UpdateTodos: CurOwner=Nil'); + if CurOwner=nil then Exit; Flags:=[]; if chkListed.Checked then