mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
fixed a record counting bug (was using the wrong model)
This commit is contained in:
parent
63b1df85e7
commit
c56007cceb
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user