mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-23 02:08:20 +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);
|
procedure TCallStackDlg.actViewMoreExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
ToolButtonPower.Down := False;
|
ToolButtonPower.Down := True;
|
||||||
ToolButtonPowerClick(nil);
|
ToolButtonPowerClick(nil);
|
||||||
ViewLimit := ViewLimit + FViewCount;
|
ViewLimit := ViewLimit + FViewCount;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCallStackDlg.actViewTopExecute(Sender: TObject);
|
procedure TCallStackDlg.actViewTopExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
ToolButtonPower.Down := False;
|
ToolButtonPower.Down := True;
|
||||||
ToolButtonPowerClick(nil);
|
ToolButtonPowerClick(nil);
|
||||||
SetViewStart(0);
|
SetViewStart(0);
|
||||||
end;
|
end;
|
||||||
@ -571,7 +571,7 @@ end;
|
|||||||
|
|
||||||
procedure TCallStackDlg.actViewLimitExecute(Sender: TObject);
|
procedure TCallStackDlg.actViewLimitExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
ToolButtonPower.Down := False;
|
ToolButtonPower.Down := True;
|
||||||
ToolButtonPowerClick(nil);
|
ToolButtonPowerClick(nil);
|
||||||
ViewLimit := FViewCount;
|
ViewLimit := FViewCount;
|
||||||
end;
|
end;
|
||||||
@ -579,7 +579,7 @@ end;
|
|||||||
procedure TCallStackDlg.SetViewStart(AStart: Integer);
|
procedure TCallStackDlg.SetViewStart(AStart: Integer);
|
||||||
begin
|
begin
|
||||||
if CallStack = nil then Exit;
|
if CallStack = nil then Exit;
|
||||||
ToolButtonPower.Down := False;
|
ToolButtonPower.Down := True;
|
||||||
ToolButtonPowerClick(nil);
|
ToolButtonPowerClick(nil);
|
||||||
|
|
||||||
if (AStart > CallStack.Count - FViewLimit)
|
if (AStart > CallStack.Count - FViewLimit)
|
||||||
@ -625,7 +625,7 @@ end;
|
|||||||
|
|
||||||
procedure TCallStackDlg.SetViewLimit(const AValue: Integer);
|
procedure TCallStackDlg.SetViewLimit(const AValue: Integer);
|
||||||
begin
|
begin
|
||||||
ToolButtonPower.Down := False;
|
ToolButtonPower.Down := True;
|
||||||
ToolButtonPowerClick(nil);
|
ToolButtonPowerClick(nil);
|
||||||
if FViewLimit = AValue then Exit;
|
if FViewLimit = AValue then Exit;
|
||||||
if (CallStack <> nil)
|
if (CallStack <> nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user