mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 12:09:50 +00:00
Merge pull request 'Wizard: rename cancel button to close' (#328) from tobtoht/feather:wizard_close into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/328
This commit is contained in:
commit
41635e39bb
4 changed files with 1 additions and 7 deletions
|
@ -38,10 +38,5 @@ int MenuPage::nextId() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MenuPage::validatePage() {
|
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;
|
return true;
|
||||||
}
|
}
|
|
@ -12,7 +12,6 @@ NetworkPage::NetworkPage(AppContext *ctx, QWidget *parent) :
|
||||||
m_ctx(ctx) {
|
m_ctx(ctx) {
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->setTitle("Welcome to Feather!");
|
this->setTitle("Welcome to Feather!");
|
||||||
this->setButtonText(QWizard::FinishButton, "walletKeysFilesModel");
|
|
||||||
|
|
||||||
ui->customFrame->hide();
|
ui->customFrame->hide();
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ RestorePage::RestorePage(AppContext *ctx, QWidget *parent) :
|
||||||
m_ctx(ctx) {
|
m_ctx(ctx) {
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->setTitle("Restore wallet");
|
this->setTitle("Restore wallet");
|
||||||
this->setButtonText(QWizard::FinishButton, "walletKeysFilesModel");
|
|
||||||
ui->restoreFrame->hide();
|
ui->restoreFrame->hide();
|
||||||
ui->label_errorString->hide();
|
ui->label_errorString->hide();
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ WalletWizard::WalletWizard(AppContext *ctx, WalletWizard::Page startPage, QWidge
|
||||||
else
|
else
|
||||||
setStartId(Page_Menu);
|
setStartId(Page_Menu);
|
||||||
|
|
||||||
|
setButtonText(QWizard::CancelButton, "Close");
|
||||||
setPixmap(QWizard::WatermarkPixmap, QPixmap(":/assets/images/banners/3.png"));
|
setPixmap(QWizard::WatermarkPixmap, QPixmap(":/assets/images/banners/3.png"));
|
||||||
setWizardStyle(WizardStyle::ModernStyle);
|
setWizardStyle(WizardStyle::ModernStyle);
|
||||||
setOption(QWizard::NoBackButtonOnStartPage);
|
setOption(QWizard::NoBackButtonOnStartPage);
|
||||||
|
|
Loading…
Reference in a new issue