mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:49:13 +02:00
IDE: update windows layout after loading desktop settings from file.
git-svn-id: trunk@33007 -
This commit is contained in:
parent
3d195eb2f1
commit
d7656977a2
@ -27,7 +27,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, Forms, StdCtrls, Dialogs, LCLProc,
|
||||
ExtCtrls, EnvironmentOpts, LazarusIDEStrConsts, IDETranslations, InputHistory,
|
||||
IDEProcs, IDEOptionsIntf;
|
||||
IDEProcs, IDEOptionsIntf, IDEWindowIntf;
|
||||
|
||||
type
|
||||
|
||||
@ -299,6 +299,8 @@ begin
|
||||
AnEnvironmentOptions.Filename := OpenDialog.Filename;
|
||||
AnEnvironmentOptions.Load(true);
|
||||
DoLoadSettings(AnEnvironmentOptions);
|
||||
if IDEDockMaster=nil then
|
||||
IDEWindowCreators.RestoreSimpleLayout;
|
||||
ShowMessage(lisLoadedSuccessfully);
|
||||
finally
|
||||
AnEnvironmentOptions.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user