diff --git a/src/torrentfilesmodel.h b/src/torrentfilesmodel.h index ba23b44c5..d78dbccb0 100644 --- a/src/torrentfilesmodel.h +++ b/src/torrentfilesmodel.h @@ -415,7 +415,7 @@ public: item->setPriority(prio::IGNORED); else item->setPriority(prio::NORMAL); - emit dataChanged(this->index(0,0), this->index(rowCount(), columnCount())); + emit dataChanged(this->index(0,0), this->index(rowCount()-1, columnCount()-1)); emit filteredFilesChanged(); } return true;