changeset 3033:97420623399c 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 c2271f50920f
children 55803ac1d4dd
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
@@ -90,11 +90,6 @@
     connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
             this, SLOT(selectionChanged()));
 
-    if(mode == ForSending)
-    {
-        // Auto-select first row when in sending mode
-        ui->tableView->selectRow(0);
-    }
     selectionChanged();
 }