mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
Debugger: Callstack-Dialog: Fixed, don't call CountLimited with more "+1" than needed.
This commit is contained in:
parent
db69b34e2a
commit
9487022e01
@ -299,7 +299,7 @@ begin
|
||||
|
||||
FInUpdateView := True; // ignore change triggered by count, if there is a change event, then Count will be updated already
|
||||
CStack := GetSelectedCallstack;
|
||||
MaxCnt := FViewStart + FViewLimit + 1;
|
||||
MaxCnt := FViewStart + FViewLimit;
|
||||
if CStack <> nil then CStack.CountLimited(MaxCnt); // trigger the update-notification, if executed immediately
|
||||
FInUpdateView := False;
|
||||
// TODO: must make CStack ref-counted
|
||||
|
Loading…
Reference in New Issue
Block a user