mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge pull request #1443 from laanwj/2012_06_addressbook_noautoselect
Do not select first address automatically in the address book
This commit is contained in:
commit
e5ad8de2d9
@ -136,11 +136,6 @@ void AddressBookPage::setModel(AddressTableModel *model)
|
|||||||
connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
||||||
this, SLOT(selectNewAddress(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();
|
selectionChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user