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
src
|
@ -3706,13 +3706,7 @@ const
|
|||
begin
|
||||
for widg in fWidgList do if widg.Parent.isNotNil and
|
||||
widg.Parent.Parent.isNil and widg.isDockable then
|
||||
begin
|
||||
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;
|
||||
TForm(widg.Parent).FormStyle := fstyle[onTop];
|
||||
end;
|
||||
|
||||
procedure TMainForm.snapTopSplitterToMenu;
|
||||
|
|
Loading…
Reference in New Issue