anchordocking: fixed checking if already docked

git-svn-id: trunk@26263 -
This commit is contained in:
mattias 2010-06-22 18:55:43 +00:00
parent c0277a4485
commit 4396585f5d
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@
- on close button: save a restore layout
ToDo:
- restore custom dock site size
- keep custom dock site content visible
- undock on hide
- option: hide caption
- popup menu

View File

@ -312,7 +312,7 @@ begin
AForm.DisableAlign;
NeedPlacing:=not AForm.IsVisible;
if not DockMaster.IsSite(AForm) then begin
if DockMaster.GetSite(AForm)=nil then begin
// this form was not yet docked
// => make it dockable
DockMaster.MakeDockable(AForm,false);