mirror of https://gitlab.com/basile.b/dexed.git
fix minimized widget were not shown anymore on next cession
This commit is contained in:
parent
e7328535b6
commit
4c645c6ccb
|
@ -512,8 +512,16 @@ end;
|
||||||
procedure TCEMainForm.SaveDocking;
|
procedure TCEMainForm.SaveDocking;
|
||||||
var
|
var
|
||||||
xcfg: TXMLConfigStorage;
|
xcfg: TXMLConfigStorage;
|
||||||
|
i: NativeInt;
|
||||||
begin
|
begin
|
||||||
|
if WindowState = wsMinimized then
|
||||||
WindowState := wsNormal;
|
WindowState := wsNormal;
|
||||||
|
for i:= 0 to fWidgList.Count-1 do
|
||||||
|
begin
|
||||||
|
if DockMaster.GetAnchorSite(fWidgList.widget[i]).WindowState = wsMinimized then
|
||||||
|
DockMaster.GetAnchorSite(fWidgList.widget[i]).WindowState := wsNormal;
|
||||||
|
DockMaster.GetAnchorSite(fWidgList.widget[i]).Show;
|
||||||
|
end;
|
||||||
if not Visible then exit;
|
if not Visible then exit;
|
||||||
//
|
//
|
||||||
xcfg := TXMLConfigStorage.Create(getDocPath + 'docking.xml',false);
|
xcfg := TXMLConfigStorage.Create(getDocPath + 'docking.xml',false);
|
||||||
|
|
Loading…
Reference in New Issue