From 2842fe4aa340c9bc01573ab2a1ff2bdf93a47772 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 12 Jun 2012 10:46:24 +0200 Subject: [PATCH] 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. --- src/qt/addressbookpage.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp index c207987561..5849f5b23d 100644 --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -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(); }