mirror of https://gitlab.com/basile.b/dexed.git
fix #3 - options, floating widget on top does not work
This commit is contained in:
parent
97f569b5b4
commit
ef80f677c9
|
@ -3706,13 +3706,7 @@ const
|
||||||
begin
|
begin
|
||||||
for widg in fWidgList do if widg.Parent.isNotNil and
|
for widg in fWidgList do if widg.Parent.isNotNil and
|
||||||
widg.Parent.Parent.isNil and widg.isDockable then
|
widg.Parent.Parent.isNil and widg.isDockable then
|
||||||
begin
|
TForm(widg.Parent).FormStyle := fstyle[onTop];
|
||||||
TForm(widg.Parent).FormStyle := fstyle[onTop];
|
|
||||||
//TODO-cbugfix: floating widg on top from true to false, widg remains on top
|
|
||||||
// OK on linux (LCL 1.6.0), initially observed on win & LCL 1.4.2
|
|
||||||
if TForm(widg.Parent).Visible and not onTop then
|
|
||||||
TForm(widg.Parent).SendToBack;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMainForm.snapTopSplitterToMenu;
|
procedure TMainForm.snapTopSplitterToMenu;
|
||||||
|
|
Loading…
Reference in New Issue