Browse Source

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.
adaptive-webui-19844
Frédéric Brière 8 years ago
parent
commit
ec08cb5445
  1. 1
      src/gui/addnewtorrentdialog.cpp

1
src/gui/addnewtorrentdialog.cpp

@ -133,7 +133,6 @@ AddNewTorrentDialog::AddNewTorrentDialog(const BitTorrent::AddTorrentParams &inP @@ -133,7 +133,6 @@ AddNewTorrentDialog::AddNewTorrentDialog(const BitTorrent::AddTorrentParams &inP
if (category != defaultCategory && category != m_torrentParams.category)
ui->categoryComboBox->addItem(category);
ui->categoryComboBox->model()->sort(0);
ui->contentTreeView->header()->setSortIndicator(0, Qt::AscendingOrder);
loadState();
// Signal / slots

Loading…
Cancel
Save