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
parent b6ef8d5a40
commit 2842fe4aa3

View file

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