Fix possible model update problem when setting the priority of a folder in torrent content

This commit is contained in:
Christophe Dumez 2012-07-02 22:52:55 +03:00
parent 9ca171c96f
commit 17b7ff3fd2

View file

@ -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;