mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Fix possible model update problem when setting the priority of a folder in torrent content
This commit is contained in:
@@ -415,7 +415,7 @@ public:
|
|||||||
item->setPriority(prio::IGNORED);
|
item->setPriority(prio::IGNORED);
|
||||||
else
|
else
|
||||||
item->setPriority(prio::NORMAL);
|
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();
|
emit filteredFilesChanged();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user