mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
wizard: menu: auto-focus next button
This commit is contained in:
parent
52546c5660
commit
1ac76ddcee
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
#include "PageMenu.h"
|
||||
#include "ui_PageMenu.h"
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
#include "config-feather.h"
|
||||
#include "WalletWizard.h"
|
||||
|
||||
|
@ -28,6 +30,10 @@ void PageMenu::initializePage() {
|
|||
ui->radioCreate->setChecked(true);
|
||||
}
|
||||
|
||||
QTimer::singleShot(0, [this]{
|
||||
wizard()->button(QWizard::NextButton)->setFocus();
|
||||
});
|
||||
|
||||
// Don't show setup wizard again
|
||||
conf()->set(Config::firstRun, false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue