mirror of https://gitlab.com/basile.b/dexed.git
fix #50, "Reset default layout" did not work properly
very old regression
This commit is contained in:
parent
e0b599aea9
commit
d60a2cceee
|
@ -7,7 +7,8 @@
|
|||
|
||||
## Regressions fixed
|
||||
|
||||
- Editor, line clicked when adding a breakpoint unexpectedly vertically centered (
|
||||
- Editor, line clicked when adding a breakpoint unexpectedly vertically centered.
|
||||
- Window menu, "Reset default layout", did not work anymore. (#50)
|
||||
|
||||
# v3.9.21
|
||||
|
||||
|
|
|
@ -1780,14 +1780,21 @@ begin
|
|||
begin
|
||||
w := fWidgList.widget[i];
|
||||
if not w.isDockable then
|
||||
begin
|
||||
if not w.isModal then
|
||||
w.showWidget;
|
||||
continue;
|
||||
if not w.Visible then
|
||||
continue;
|
||||
end;
|
||||
w.showWidget;
|
||||
w.Show;
|
||||
if w = fEditWidg then
|
||||
continue;
|
||||
h := DockMaster.GetAnchorSite(w);
|
||||
if h.isAssigned then
|
||||
h.ManualFloat(w.ClientRect, false);
|
||||
// this should be made automatically but fixes
|
||||
// https://gitlab.com/basile.b/dexed/-/issues/50
|
||||
h.pages.Free;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue