IDEDebugger: moved registering IDE options page to the Register procedure from unit initialization section. It was meant to be there in the first place and now actually works there after 5b5c0ae1c4.

This commit is contained in:
Maxim Ganetsky 2022-07-05 01:51:49 +03:00
parent 5b5c0ae1c4
commit 20d5f5d71a

View File

@ -34,7 +34,7 @@ implementation
procedure Register;
begin
//RegisterIDEOptionsEditor(GroupDebugger, TIdeDbgFpValConvOptionsFrame, DbgOptionsFpDbgOpts);
RegisterIDEOptionsEditor(GroupDebugger, TIdeDbgFpValConvOptionsFrame, DbgOptionsFpDbgOpts);
end;
{$R *.lfm}
@ -90,8 +90,5 @@ begin
Result := TDebuggerOptions;
end;
initialization
RegisterIDEOptionsEditor(GroupDebugger, TIdeDbgFpValConvOptionsFrame, DbgOptionsFpDbgOpts);
end.