Commit 92e2b2ee authored by David Redondo's avatar David Redondo 🏎
Browse files

Also assign space when adjusting to item size hints

We release space but never assign new space for the item so we end up thinking
the space that the item ends up occupying is free.


(cherry picked from commit 2b9382f4)
parent b360c548
......@@ -321,6 +321,7 @@ void GridLayoutManager::adjustToItemSizeHints(ItemContainer *item)
if (changed && itemIsManaged(item)) {
releaseSpace(item);
positionItem(item);
assignSpace(item);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment