mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Make PS Buttons not react to spacebar (#2154)
* Make the togglePrivateSend button not react to the spacebar or enter. #1766 * redo comment * change `privateSendAuto` focus policy to remain consistent
This commit is contained in:
parent
f833e2ed6c
commit
c4698d5f3d
@ -300,6 +300,12 @@ void OverviewPage::setWalletModel(WalletModel *model)
|
|||||||
connect(ui->privateSendReset, SIGNAL(clicked()), this, SLOT(privateSendReset()));
|
connect(ui->privateSendReset, SIGNAL(clicked()), this, SLOT(privateSendReset()));
|
||||||
connect(ui->privateSendInfo, SIGNAL(clicked()), this, SLOT(privateSendInfo()));
|
connect(ui->privateSendInfo, SIGNAL(clicked()), this, SLOT(privateSendInfo()));
|
||||||
connect(ui->togglePrivateSend, SIGNAL(clicked()), this, SLOT(togglePrivateSend()));
|
connect(ui->togglePrivateSend, SIGNAL(clicked()), this, SLOT(togglePrivateSend()));
|
||||||
|
|
||||||
|
// privatesend buttons will not react to spacebar must be clicked on
|
||||||
|
ui->privateSendAuto->setFocusPolicy(Qt::NoFocus);
|
||||||
|
ui->privateSendReset->setFocusPolicy(Qt::NoFocus);
|
||||||
|
ui->privateSendInfo->setFocusPolicy(Qt::NoFocus);
|
||||||
|
ui->togglePrivateSend->setFocusPolicy(Qt::NoFocus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user