From fc639c090217c515f826c2257ccddea762816619 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Wed, 5 Mar 2025 13:06:29 +0200 Subject: [PATCH] fix beginResetModel called before endResetModel Signed-off-by: Trial97 (cherry picked from commit c441ae05df58eecf315c1379962a59d52c263f14) --- launcher/VersionProxyModel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/launcher/VersionProxyModel.cpp b/launcher/VersionProxyModel.cpp index 12a82f73d..7538ce08c 100644 --- a/launcher/VersionProxyModel.cpp +++ b/launcher/VersionProxyModel.cpp @@ -307,6 +307,7 @@ void VersionProxyModel::setSourceModel(QAbstractItemModel* replacingRaw) if (!replacing) { roles.clear(); filterModel->setSourceModel(replacing); + endResetModel(); return; }