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:
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…
Reference in New Issue
Block a user