aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addressbookpage.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-06-12 10:46:24 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-06-12 10:48:42 +0200
commit2842fe4aa340c9bc01573ab2a1ff2bdf93a47772 (patch)
tree039388c2bdb13fff59d17caaede88c7b9b19efa1 /src/qt/addressbookpage.cpp
parentb6ef8d5a40066fedb771c68cd4a8088b06d3b665 (diff)
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.
Diffstat (limited to 'src/qt/addressbookpage.cpp')
-rw-r--r--src/qt/addressbookpage.cpp5
1 files changed, 0 insertions, 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();
}