fix beginResetModel called before endResetModel (#3470)

This commit is contained in:
Alexandru Ionut Tripon
2025-03-09 14:04:58 +02:00
committed by GitHub

View File

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