Merge pull request #3480

340bff3 ui: Better tab order in send coins entry (Wladimir J. van der Laan)
This commit is contained in:
Wladimir J. van der Laan 2014-01-04 13:13:19 +01:00
commit 51947e4972
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -155,11 +155,12 @@ SendCoinsRecipient SendCoinsEntry::getValue()
QWidget *SendCoinsEntry::setupTabChain(QWidget *prev)
{
QWidget::setTabOrder(prev, ui->payTo);
QWidget::setTabOrder(ui->payTo, ui->addressBookButton);
QWidget::setTabOrder(ui->payTo, ui->addAsLabel);
QWidget *w = ui->payAmount->setupTabChain(ui->addAsLabel);
QWidget::setTabOrder(w, ui->addressBookButton);
QWidget::setTabOrder(ui->addressBookButton, ui->pasteButton);
QWidget::setTabOrder(ui->pasteButton, ui->deleteButton);
QWidget::setTabOrder(ui->deleteButton, ui->addAsLabel);
return ui->payAmount->setupTabChain(ui->addAsLabel);
return ui->deleteButton;
}
void SendCoinsEntry::setValue(const SendCoinsRecipient &value)