# HG changeset patch # User Wladimir J. van der Laan # Date 1339490784 -7200 # Node ID bda316bdb74119677e420380408426d682996737 # Parent 89e7c128638cdfe72da890f61646727ab4bc3a7f 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. diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -136,11 +136,6 @@ 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(); }