mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:19:36 +02:00
Debugger: Fix "use instance class" button, in watches properties.
This commit is contained in:
parent
79d6afe4b6
commit
9e41ef446f
@ -101,12 +101,11 @@ begin
|
||||
then FWatch.DisplayFormat := StyleToDispFormat[rgStyle.ItemIndex]
|
||||
else FWatch.DisplayFormat := wdfDefault;
|
||||
|
||||
FWatch.EvaluateFlags := [];
|
||||
if chkUseInstanceClass.Checked
|
||||
then FWatch.EvaluateFlags := [defClassAutoCast]
|
||||
else FWatch.EvaluateFlags := [];
|
||||
then FWatch.EvaluateFlags := FWatch.EvaluateFlags + [defClassAutoCast];
|
||||
if chkAllowFunc.Checked
|
||||
then FWatch.EvaluateFlags := FWatch.EvaluateFlags + [defAllowFunctionCall]
|
||||
else FWatch.EvaluateFlags := [];
|
||||
then FWatch.EvaluateFlags := FWatch.EvaluateFlags + [defAllowFunctionCall];
|
||||
FWatch.RepeatCount := StrToIntDef(txtRepCount.Text, 0);
|
||||
|
||||
FWatch.Enabled := chkEnabled.Checked;
|
||||
|
Loading…
Reference in New Issue
Block a user