Sidebar overlays now maintain their size when toggled

Fixes #155
This commit is contained in:
Sergio Martins
2021-02-06 22:55:14 +00:00
parent ea48d52447
commit 4c33cd6409
3 changed files with 5 additions and 4 deletions

View File

@@ -5334,6 +5334,7 @@ void TestDocks::tst_overlayedGeometryIsSaved()
Frame *frame = dw1->dptr()->frame();
QVERIFY(frame->isOverlayed());
QCOMPARE(dw1->sideBarLocation(), SideBarLocation::North);
QVERIFY(frame->height() > 0);
const int newHeight = frame->height() + 300;
frame->setHeight(newHeight);
@@ -5342,7 +5343,6 @@ void TestDocks::tst_overlayedGeometryIsSaved()
m1->toggleOverlayOnSideBar(dw1);
frame = dw1->dptr()->frame();
QEXPECT_FAIL("", "Will fix", Continue);
QCOMPARE(frame->height(), newHeight);
}