traceform was not so well hidden :)
This commit is contained in:
parent
dd8c388f5f
commit
d644e38ff8
@ -290,15 +290,19 @@ object MainForm: TMainForm
|
||||
Left = 571
|
||||
Top = 0
|
||||
Width = 8
|
||||
Enabled = False
|
||||
ImageIndex = 39
|
||||
Style = tbsSeparator
|
||||
Visible = False
|
||||
end
|
||||
object tbShowTrace: TToolButton
|
||||
Left = 579
|
||||
Top = 0
|
||||
Hint = 'Show trace window'
|
||||
Caption = 'tbShowTrace'
|
||||
Enabled = False
|
||||
ImageIndex = 38
|
||||
Visible = False
|
||||
OnClick = tbShowTraceClick
|
||||
end
|
||||
end
|
||||
|
@ -95,12 +95,18 @@ begin
|
||||
TraceLevel := Registry.ReadInteger('TraceLevel')
|
||||
else
|
||||
TraceLevel := 0;
|
||||
MainForm.tbShowTrace.Visible := true;
|
||||
MainForm.tbShowTrace.Enabled := true;
|
||||
MainForm.tbTraceSeparator.Visible := true;
|
||||
MainForm.tbTraceSeparator.Enabled := true;
|
||||
|
||||
{$else} // Tracer disabled in release version
|
||||
|
||||
TraceLevel := 0;
|
||||
MainForm.tbShowTrace.Visible := false;
|
||||
MainForm.tbShowTrace.Enabled := false;
|
||||
MainForm.tbTraceSeparator.Visible := false;
|
||||
MainForm.tbTraceSeparator.Enabled := false;
|
||||
|
||||
{$endif}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user