From c4591d203ac43a947d97bab8cd2b5fbd3461db17 Mon Sep 17 00:00:00 2001 From: juha Date: Mon, 5 Feb 2018 11:18:59 +0000 Subject: [PATCH] ToDoList: Handle a rare case when there is no owner (project/package). git-svn-id: trunk@57257 - --- components/todolist/todolist.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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