mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
- Make sure priority column stays sorted when changing torrents priority (closes #417829)
This commit is contained in:
@@ -718,6 +718,10 @@ void DownloadingTorrents::sortProgressColumn(QTorrentHandle& h) {
|
||||
}
|
||||
}
|
||||
|
||||
bool DownloadingTorrents::isPriorityColumnSorted() {
|
||||
return (downloadList->header()->sortIndicatorSection() == PRIORITY);
|
||||
}
|
||||
|
||||
void DownloadingTorrents::sortDownloadList(int index, Qt::SortOrder sortOrder) {
|
||||
if(index == -1) {
|
||||
index = downloadList->header()->sortIndicatorSection();
|
||||
|
||||
Reference in New Issue
Block a user