git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fdd907c
)
Do not select first address automatically in the address book
author
Wladimir J. van der Laan
<laanwj@gmail.com>
Tue, 12 Jun 2012 08:46:24 +0000 (10:46 +0200)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Thu, 14 Jun 2012 17:11:26 +0000 (17:11 +0000)
This contributed to an accidental send (#1384), and has no clear advantage, better to disable it.
src/qt/addressbookpage.cpp
patch
|
blob
|
history
diff --git
a/src/qt/addressbookpage.cpp
b/src/qt/addressbookpage.cpp
index
2c4407a
..
bd21103
100644
(file)
--- 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();
}