Browse Source

Merge pull request #3480

340bff3 ui: Better tab order in send coins entry (Wladimir J. van der Laan)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
51947e4972
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 7
      src/qt/sendcoinsentry.cpp

7
src/qt/sendcoinsentry.cpp

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

Loading…
Cancel
Save