mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 02:59:15 +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
|
||||
With TOptionsForm.Create(Self) do
|
||||
begin
|
||||
ShowOnStartUp:=FShowOnStartUp;
|
||||
ShowOnMessage:=FShowOnmessage;
|
||||
NewMessageAtBottom:=FAtBottom;
|
||||
NewMessageVisible:=FKeepVisible;
|
||||
CleanLogOnNewProcess := FCleanLog;
|
||||
|
||||
If (ShowModal=mrOk) then
|
||||
begin
|
||||
FShowOnStartUp:=ShowOnStartUp;
|
||||
FShowOnmessage:=ShowOnMessage;
|
||||
FAtBottom:=NewMessageAtBottom;
|
||||
FKeepVisible:=NewMessageVisible;
|
||||
SaveSettings;
|
||||
end;
|
||||
try
|
||||
ShowOnStartUp:=FShowOnStartUp;
|
||||
ShowOnMessage:=FShowOnmessage;
|
||||
NewMessageAtBottom:=FAtBottom;
|
||||
NewMessageVisible:=FKeepVisible;
|
||||
CleanLogOnNewProcess := FCleanLog;
|
||||
If (ShowModal=mrOk) then
|
||||
begin
|
||||
FShowOnStartUp:=ShowOnStartUp;
|
||||
FShowOnmessage:=ShowOnMessage;
|
||||
FAtBottom:=NewMessageAtBottom;
|
||||
FKeepVisible:=NewMessageVisible;
|
||||
SaveSettings;
|
||||
end;
|
||||
finally
|
||||
Free;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user