mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 19:49:14 +02:00
Debugger-Config: fix assert for file history list
git-svn-id: trunk@61556 -
This commit is contained in:
parent
7db25535c4
commit
31c1cc7cfa
@ -320,8 +320,8 @@ begin
|
||||
exit;
|
||||
|
||||
i := FDebuggerFileHistory.IndexOf(SelectedDebuggerClass.ExePathsMruGroup.ClassName);
|
||||
Assert(i>0, 'Missing dbg lru');
|
||||
if i > 0 then // should always be
|
||||
Assert((i>=0) or (not SelectedDebuggerClass.NeedsExePath), 'Missing dbg lru');
|
||||
if i >= 0 then // not found if not NeedExePath
|
||||
TStringList(FDebuggerFileHistory.Objects[i]).Assign(cmbDebuggerPath.Items);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user