mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 10:16:00 +03:00
Fix broken behavior of "priority by shown file order"
Closes #15421. PR #15423.
This commit is contained in:
parent
6a6268c068
commit
7a6edcdddb
1 changed files with 4 additions and 1 deletions
|
@ -639,7 +639,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
|
|||
}
|
||||
|
||||
// Save changes
|
||||
filteredFilesChanged();
|
||||
this->applyPriorities();
|
||||
};
|
||||
|
||||
QMenu *subMenu = menu->addMenu(tr("Priority"));
|
||||
|
@ -692,6 +692,9 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
|
|||
const QModelIndex &index = selectedRows[i];
|
||||
m_propListModel->setData(index.sibling(index.row(), PRIORITY)
|
||||
, static_cast<int>(priority));
|
||||
|
||||
// Save changes
|
||||
this->applyPriorities();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue