forked from teamnwah/openmw-tes3coop
fixed a record counting bug (was using the wrong model)
This commit is contained in:
parent
63b1df85e7
commit
c56007cceb
1 changed files with 2 additions and 2 deletions
|
@ -257,9 +257,9 @@ void CSVWorld::Table::tableSizeUpdate()
|
||||||
int deleted = 0;
|
int deleted = 0;
|
||||||
int modified = 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)
|
for (int i=0; i<rows; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue