[Scummvm-git-logs] scummvm master -> 9af7ecdd151dd8cdcd64c57cea90366dc20ebb1e
lephilousophe
noreply at scummvm.org
Wed Aug 24 20:49:28 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9af7ecdd15 GUI: Do hide GridItemWidgets when nothing is to be shown
Commit: 9af7ecdd151dd8cdcd64c57cea90366dc20ebb1e
https://github.com/scummvm/scummvm/commit/9af7ecdd151dd8cdcd64c57cea90366dc20ebb1e
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-08-24T22:46:55+02:00
Commit Message:
GUI: Do hide GridItemWidgets when nothing is to be shown
Changed paths:
gui/widgets/grid.cpp
diff --git a/gui/widgets/grid.cpp b/gui/widgets/grid.cpp
index ccae86ba5f2..c22849275b9 100644
--- a/gui/widgets/grid.cpp
+++ b/gui/widgets/grid.cpp
@@ -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()) {
More information about the Scummvm-git-logs
mailing list