mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 17:19:23 +02:00
anchordocking: fixed checking if already docked
git-svn-id: trunk@26263 -
This commit is contained in:
parent
c0277a4485
commit
4396585f5d
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user