mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Fix model update when setting the priority of a folder in torrent content
This commit is contained in:
parent
183453488e
commit
c6ab0b148b
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ bool TorrentContentModel::setData(const QModelIndex& index, const QVariant& valu
|
||||||
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue