mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 21:59:16 +02:00
TodoList: Don't try to update the list too early. Regression caused by issue #31006.
git-svn-id: trunk@55059 -
This commit is contained in:
parent
6dbb82d795
commit
5b3be46dc8
@ -274,11 +274,7 @@ begin
|
||||
exit;
|
||||
end;
|
||||
fUpdateNeeded:=false;
|
||||
|
||||
if fUpdating then Exit;
|
||||
|
||||
DebugLn(['TfrmTodo.UpdateTodos StartFilename=',StartFilename,' IDEItem=',IDEItem]);
|
||||
|
||||
LazarusIDE.SaveSourceEditorChangesToCodeCache(nil);
|
||||
|
||||
Screen.Cursor:=crHourGlass;
|
||||
@ -302,9 +298,9 @@ begin
|
||||
end;
|
||||
|
||||
ResolveIDEItem(CurOwner,CurProject,CurPkg);
|
||||
Assert(Assigned(CurOwner), 'TIDETodoWindow.UpdateTodos: CurOwner=Nil');
|
||||
|
||||
Flags:=[];
|
||||
|
||||
if chkListed.Checked then
|
||||
Include(Flags, fuooListed);
|
||||
if chkUsed.Checked then
|
||||
@ -343,8 +339,7 @@ end;
|
||||
|
||||
procedure TIDETodoWindow.FormShow(Sender: TObject);
|
||||
begin
|
||||
IdleConnected:=true;
|
||||
UpdateTodos(true);
|
||||
UpdateTodos;
|
||||
end;
|
||||
|
||||
procedure TIDETodoWindow.HelpButtonClick(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user