[Scummvm-git-logs] scummvm master -> 284c3936ed0bd35a8e7e3bdc176dffab94899501

SupSuper noreply at scummvm.org
Thu Mar 31 00:07:15 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:
284c3936ed GUI: Fix grid game icons only showing once


Commit: 284c3936ed0bd35a8e7e3bdc176dffab94899501
    https://github.com/scummvm/scummvm/commit/284c3936ed0bd35a8e7e3bdc176dffab94899501
Author: SupSuper (supsuper at gmail.com)
Date: 2022-03-31T01:06:49+01:00

Commit Message:
GUI: Fix grid game icons only showing once

Changed paths:
    gui/widgets/grid.cpp


diff --git a/gui/widgets/grid.cpp b/gui/widgets/grid.cpp
index 452574762bd..01b94dc6c43 100644
--- a/gui/widgets/grid.cpp
+++ b/gui/widgets/grid.cpp
@@ -587,10 +587,10 @@ void GridWidget::reloadThumbnails() {
 				}
 			}
 		}
+		entry->thumbPath = path;
 		if (surf) {
 			const Graphics::ManagedSurface *scSurf(scaleGfx(surf, _thumbnailWidth, 512, true));
 			_loadedSurfaces[path] = scSurf;
-			entry->thumbPath = path;
 			if (surf != scSurf) {
 				surf->free();
 				delete surf;




More information about the Scummvm-git-logs mailing list