From f1526b44dc06bdacab7bf927e18843368f3e402d Mon Sep 17 00:00:00 2001 From: "Hello=)" Date: Tue, 14 Dec 2021 23:40:20 +0300 Subject: Fix inventory_cell2.xml and similar widgets rendering, fallout traced to commit 1e2a88e975019929c4c7e3154537865cc09550a6 - V2 --- src/gui/widgets/itemcontainer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index e60e70332..0cfb074f0 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -1159,6 +1159,7 @@ void ItemContainer::adjustHeight() } else { + updateMatrix(); mDrawRows = mGridRows; } setHeight(maxRows * mBoxHeight); -- cgit v1.2.3-70-g09d2