mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 22:12:35 +02:00
DBG: Fixed Callstack power mode
git-svn-id: trunk@28504 -
This commit is contained in:
parent
f4532d9046
commit
62e56cbbf3
@ -469,14 +469,14 @@ end;
|
||||
|
||||
procedure TCallStackDlg.actViewMoreExecute(Sender: TObject);
|
||||
begin
|
||||
ToolButtonPower.Down := False;
|
||||
ToolButtonPower.Down := True;
|
||||
ToolButtonPowerClick(nil);
|
||||
ViewLimit := ViewLimit + FViewCount;
|
||||
end;
|
||||
|
||||
procedure TCallStackDlg.actViewTopExecute(Sender: TObject);
|
||||
begin
|
||||
ToolButtonPower.Down := False;
|
||||
ToolButtonPower.Down := True;
|
||||
ToolButtonPowerClick(nil);
|
||||
SetViewStart(0);
|
||||
end;
|
||||
@ -571,7 +571,7 @@ end;
|
||||
|
||||
procedure TCallStackDlg.actViewLimitExecute(Sender: TObject);
|
||||
begin
|
||||
ToolButtonPower.Down := False;
|
||||
ToolButtonPower.Down := True;
|
||||
ToolButtonPowerClick(nil);
|
||||
ViewLimit := FViewCount;
|
||||
end;
|
||||
@ -579,7 +579,7 @@ end;
|
||||
procedure TCallStackDlg.SetViewStart(AStart: Integer);
|
||||
begin
|
||||
if CallStack = nil then Exit;
|
||||
ToolButtonPower.Down := False;
|
||||
ToolButtonPower.Down := True;
|
||||
ToolButtonPowerClick(nil);
|
||||
|
||||
if (AStart > CallStack.Count - FViewLimit)
|
||||
@ -625,7 +625,7 @@ end;
|
||||
|
||||
procedure TCallStackDlg.SetViewLimit(const AValue: Integer);
|
||||
begin
|
||||
ToolButtonPower.Down := False;
|
||||
ToolButtonPower.Down := True;
|
||||
ToolButtonPowerClick(nil);
|
||||
if FViewLimit = AValue then Exit;
|
||||
if (CallStack <> nil)
|
||||
|
Loading…
Reference in New Issue
Block a user