* Release options form after showing it

git-svn-id: trunk@61455 -
This commit is contained in:
michael 2019-06-24 10:46:16 +00:00
parent 1c9f5af2ca
commit f2c28d2c05

View File

@ -455,21 +455,22 @@ procedure TMainForm.ShowOptions;
begin begin
With TOptionsForm.Create(Self) do With TOptionsForm.Create(Self) do
begin try
ShowOnStartUp:=FShowOnStartUp; ShowOnStartUp:=FShowOnStartUp;
ShowOnMessage:=FShowOnmessage; ShowOnMessage:=FShowOnmessage;
NewMessageAtBottom:=FAtBottom; NewMessageAtBottom:=FAtBottom;
NewMessageVisible:=FKeepVisible; NewMessageVisible:=FKeepVisible;
CleanLogOnNewProcess := FCleanLog; CleanLogOnNewProcess := FCleanLog;
If (ShowModal=mrOk) then
If (ShowModal=mrOk) then begin
begin FShowOnStartUp:=ShowOnStartUp;
FShowOnStartUp:=ShowOnStartUp; FShowOnmessage:=ShowOnMessage;
FShowOnmessage:=ShowOnMessage; FAtBottom:=NewMessageAtBottom;
FAtBottom:=NewMessageAtBottom; FKeepVisible:=NewMessageVisible;
FKeepVisible:=NewMessageVisible; SaveSettings;
SaveSettings; end;
end; finally
Free;
end; end;
end; end;