mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 22:03:27 -07:00
Leave categories order intact in "Add new torrent" dialog.
The categories are already properly sorted in AddNewTorrentDialog; this second case-sensitive sort undid all that. This partially addresses #6708.
This commit is contained in:
parent
13aa3c3088
commit
412584e9c3
1 changed files with 0 additions and 1 deletions
|
@ -114,7 +114,6 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent)
|
||||||
if (category != defaultCategory)
|
if (category != defaultCategory)
|
||||||
ui->categoryComboBox->addItem(category);
|
ui->categoryComboBox->addItem(category);
|
||||||
|
|
||||||
ui->categoryComboBox->model()->sort(0);
|
|
||||||
ui->contentTreeView->header()->setSortIndicator(0, Qt::AscendingOrder);
|
ui->contentTreeView->header()->setSortIndicator(0, Qt::AscendingOrder);
|
||||||
loadState();
|
loadState();
|
||||||
// Signal / slots
|
// Signal / slots
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue