Commit 8a084560 authored by Volker Krause's avatar Volker Krause
Browse files

Actually merge product updates too

parent 944123ca
...@@ -119,6 +119,7 @@ void ProductModel::mergeProducts(QVector<Product> &&products) ...@@ -119,6 +119,7 @@ void ProductModel::mergeProducts(QVector<Product> &&products)
it = m_products.erase(it); it = m_products.erase(it);
endRemoveRows(); endRemoveRows();
} else { } else {
*it = *newIt;
emit dataChanged(index(row, 0), index(row, 0)); emit dataChanged(index(row, 0), index(row, 0));
++it; ++it;
++newIt; ++newIt;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment