Do not select first address automatically in the address book

This contributed to an accidental send (#1384), and has no clear advantage, better to disable it.
This commit is contained in:
Wladimir J. van der Laan
2012-06-12 10:46:24 +02:00
committed by Luke Dashjr
parent fdd907c9f1
commit b825e816e4

View File

@@ -90,11 +90,6 @@ void AddressBookPage::setModel(AddressTableModel *model)
connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
this, SLOT(selectionChanged()));
if(mode == ForSending)
{
// Auto-select first row when in sending mode
ui->tableView->selectRow(0);
}
selectionChanged();
}