fix beginResetModel called before endResetModel

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2025-03-05 13:06:29 +02:00
parent 79180db663
commit c441ae05df
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -307,6 +307,7 @@ void VersionProxyModel::setSourceModel(QAbstractItemModel* replacingRaw)
if (!replacing) {
roles.clear();
filterModel->setSourceModel(replacing);
endResetModel();
return;
}