From 9e2185c8a24ccd20a638c4eeef9a54307f2b8804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sun, 18 Dec 2022 10:38:37 +0100 Subject: [PATCH] Keep thumbnails of SaveButtons with lazily loaded SaveFiles --- src/gui/interface/SaveButton.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/interface/SaveButton.cpp b/src/gui/interface/SaveButton.cpp index 95da7f25c..852e3de3f 100644 --- a/src/gui/interface/SaveButton.cpp +++ b/src/gui/interface/SaveButton.cpp @@ -173,9 +173,6 @@ void SaveButton::Tick(float dt) if (file && !wantsDraw && !thumbnailRenderer) { file->LazyUnload(); - thumbnail.reset(); - thumbSize = { 0, 0 }; - triedThumbnail = false; } wantsDraw = false; }