mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 07:29:25 +02:00
* Debugger - Evaluatedialog: Add watches enabled instead of disabled
git-svn-id: trunk@24321 -
This commit is contained in:
parent
ffcdecb7fb
commit
a8ebc175cf
@ -232,10 +232,14 @@ end;
|
||||
procedure TEvaluateDlg.tbWatchClick(Sender: TObject);
|
||||
var
|
||||
S: String;
|
||||
Watch: TIDEWatch;
|
||||
begin
|
||||
S := cmbExpression.Text;
|
||||
if DebugBoss.Watches.Find(S) = nil
|
||||
then DebugBoss.Watches.Add(S);
|
||||
then begin
|
||||
Watch := DebugBoss.Watches.Add(S);
|
||||
Watch.Enabled := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user