fix app must be visible when saving docking

This commit is contained in:
Basile Burg 2014-08-10 04:36:05 +02:00
parent 94f3e11a0a
commit 11c0f6656a
1 changed files with 3 additions and 0 deletions

View File

@ -513,6 +513,9 @@ procedure TCEMainForm.SaveDocking;
var
xcfg: TXMLConfigStorage;
begin
WindowState := wsNormal;
if not Visible then exit;
//
xcfg := TXMLConfigStorage.Create(getDocPath + 'docking.xml',false);
try
DockMaster.SaveLayoutToConfig(xcfg);