changeset 2748:bda316bdb741 draft

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.
author Wladimir J. van der Laan <laanwj@gmail.com>
date Tue, 12 Jun 2012 10:46:24 +0200
parents 89e7c128638c
children 695bc7ee36d6
files src/qt/addressbookpage.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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();
 }