mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
airgap: set focus to sign transaction button
This commit is contained in:
parent
9f109e8c42
commit
650bdd2370
1 changed files with 6 additions and 0 deletions
|
@ -402,6 +402,12 @@ void MainWindow::initMenu() {
|
||||||
void MainWindow::initOffline() {
|
void MainWindow::initOffline() {
|
||||||
// TODO: check if we have any cameras available
|
// TODO: check if we have any cameras available
|
||||||
|
|
||||||
|
ui->btn_help->setFocusPolicy(Qt::NoFocus);
|
||||||
|
ui->btn_viewOnlyDetails->setFocusPolicy(Qt::NoFocus);
|
||||||
|
ui->btn_checkAddress->setFocusPolicy(Qt::NoFocus);
|
||||||
|
ui->btn_signTransaction->setFocusPolicy(Qt::StrongFocus);
|
||||||
|
ui->btn_signTransaction->setFocus();
|
||||||
|
|
||||||
connect(ui->btn_help, &QPushButton::clicked, [this] {
|
connect(ui->btn_help, &QPushButton::clicked, [this] {
|
||||||
windowManager()->showDocs(this, "offline_tx_signing");
|
windowManager()->showDocs(this, "offline_tx_signing");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue