mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:39:22 +02:00
* Release options form after showing it
git-svn-id: trunk@61455 -
This commit is contained in:
parent
1c9f5af2ca
commit
f2c28d2c05
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user