1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00

fixed a record counting bug (was using the wrong model)

This commit is contained in:
Marc Zinnschlag 2013-08-23 14:11:33 +02:00
parent 63b1df85e7
commit c56007cceb

View File

@ -257,9 +257,9 @@ void CSVWorld::Table::tableSizeUpdate()
int deleted = 0;
int modified = 0;
if (mModel->columnCount()>0)
if (mProxyModel->columnCount()>0)
{
int rows = mModel->rowCount();
int rows = mProxyModel->rowCount();
for (int i=0; i<rows; ++i)
{