mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Merge pull request #3480
340bff3
ui: Better tab order in send coins entry (Wladimir J. van der Laan)
This commit is contained in:
commit
51947e4972
@ -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…
Reference in New Issue
Block a user