diff --git a/src/wizard/menu.cpp b/src/wizard/menu.cpp index b8c49c5..9daefea 100644 --- a/src/wizard/menu.cpp +++ b/src/wizard/menu.cpp @@ -38,10 +38,5 @@ int MenuPage::nextId() const { } bool MenuPage::validatePage() { - // Check if file exists - // Check if wallet has password - // Check if wallet can be decrypted with entered password - - // TODO: Check if password is correct, otherwise show error message return true; } \ No newline at end of file diff --git a/src/wizard/network.cpp b/src/wizard/network.cpp index e384a90..53ffa0d 100644 --- a/src/wizard/network.cpp +++ b/src/wizard/network.cpp @@ -12,7 +12,6 @@ NetworkPage::NetworkPage(AppContext *ctx, QWidget *parent) : m_ctx(ctx) { ui->setupUi(this); this->setTitle("Welcome to Feather!"); - this->setButtonText(QWizard::FinishButton, "walletKeysFilesModel"); ui->customFrame->hide(); diff --git a/src/wizard/restorewallet.cpp b/src/wizard/restorewallet.cpp index ed6cd5f..866517f 100644 --- a/src/wizard/restorewallet.cpp +++ b/src/wizard/restorewallet.cpp @@ -18,7 +18,6 @@ RestorePage::RestorePage(AppContext *ctx, QWidget *parent) : m_ctx(ctx) { ui->setupUi(this); this->setTitle("Restore wallet"); - this->setButtonText(QWizard::FinishButton, "walletKeysFilesModel"); ui->restoreFrame->hide(); ui->label_errorString->hide(); diff --git a/src/wizard/walletwizard.cpp b/src/wizard/walletwizard.cpp index 757e104..63b0219 100644 --- a/src/wizard/walletwizard.cpp +++ b/src/wizard/walletwizard.cpp @@ -41,6 +41,7 @@ WalletWizard::WalletWizard(AppContext *ctx, WalletWizard::Page startPage, QWidge else setStartId(Page_Menu); + setButtonText(QWizard::CancelButton, "Close"); setPixmap(QWizard::WatermarkPixmap, QPixmap(":/assets/images/banners/3.png")); setWizardStyle(WizardStyle::ModernStyle); setOption(QWizard::NoBackButtonOnStartPage);