From: Wladimir J. van der Laan Date: Tue, 12 Jun 2012 08:46:24 +0000 (+0200) Subject: Do not select first address automatically in the address book X-Git-Tag: v0.4.0-unstable~129^2~1^2^2^2~7 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=b825e816e422becd7c86cdeafc29952e29ffc0d0 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 index 2c4407a..bd21103 100644 --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -90,11 +90,6 @@ void AddressBookPage::setModel(AddressTableModel *model) 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(); }