Sort labels in 'Add new torrent' dialog. Closes #1150 #411.

This commit is contained in:
sledgehammer999 2013-12-29 18:44:07 +02:00
parent 86b8f3190a
commit 1648cdc4bc

View file

@ -81,6 +81,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent) :
foreach (const QString& label, customLabels) {
ui->label_combo->addItem(label);
}
ui->label_combo->model()->sort(0);
loadState();
// Signal / slots
connect(ui->adv_button, SIGNAL(clicked(bool)), SLOT(showAdvancedSettings(bool)));