IDE: fixed showing todo items after opening new project from Vladimir Zhirov (issue #13003)

git-svn-id: trunk@18354 -
This commit is contained in:
vincents 2009-01-20 13:06:05 +00:00
parent 3502222ac1
commit c1e4d2fb96
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#The following people contributed to Lazarus: #The following people contributed to Lazarus:
A. J. Venter A. J. Venter
Aleksey Lagunov Aleksey Lagunov
@ -130,6 +130,7 @@ Valdas Jankunas
Vasily I. Volchenko Vasily I. Volchenko
Vincent Beuselinck Vincent Beuselinck
Vincent Snijders Vincent Snijders
Vladimir Zhirov
Wanderlan Santos dos Anjos Wanderlan Santos dos Anjos
Wojciech Malinowski Wojciech Malinowski
Yuriy Yeroshkin Yuriy Yeroshkin

View File

@ -538,6 +538,7 @@ begin
try try
fBuild:=True; fBuild:=True;
CodeToolBoss.ActivateWriteLock; CodeToolBoss.ActivateWriteLock;
fScannedFiles.Clear;
lvTodo.Items.Clear; lvTodo.Items.Clear;
if MainSourceFilename='' then exit; if MainSourceFilename='' then exit;