Browse Source

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.
0.8
Wladimir J. van der Laan 12 years ago
parent
commit
2842fe4aa3
  1. 5
      src/qt/addressbookpage.cpp

5
src/qt/addressbookpage.cpp

@ -136,11 +136,6 @@ void AddressBookPage::setModel(AddressTableModel *model) @@ -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();
}

Loading…
Cancel
Save