mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 07:50:20 +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
|
FInUpdateView := True; // ignore change triggered by count, if there is a change event, then Count will be updated already
|
||||||
CStack := GetSelectedCallstack;
|
CStack := GetSelectedCallstack;
|
||||||
MaxCnt := FViewStart + FViewLimit + 1;
|
MaxCnt := FViewStart + FViewLimit;
|
||||||
if CStack <> nil then CStack.CountLimited(MaxCnt); // trigger the update-notification, if executed immediately
|
if CStack <> nil then CStack.CountLimited(MaxCnt); // trigger the update-notification, if executed immediately
|
||||||
FInUpdateView := False;
|
FInUpdateView := False;
|
||||||
// TODO: must make CStack ref-counted
|
// TODO: must make CStack ref-counted
|
||||||
|
Loading…
Reference in New Issue
Block a user