GUI: Do hide GridItemWidgets when nothing is to be shown

This commit is contained in:
Le Philousophe 2022-08-24 22:46:00 +02:00
parent 6f0f1da2da
commit 9af7ecdd15

View File

@ -720,8 +720,6 @@ void GridWidget::updateGrid() {
void GridWidget::assignEntriesToItems() {
// Assign entries from _visibleEntries to each GridItem in _gridItems
if (_visibleEntryList.empty())
return;
// In case we have less ContainerWidgets than the number of visible entries
if (_visibleEntryList.size() > _gridItems.size()) {