hide seed and birthday while validate
This commit is contained in:
@@ -318,7 +318,9 @@ bool NewSeedPage::validatePage() {
|
||||
verifyseed.setupUi(&dialog);
|
||||
Settings::saveRestore(&dialog);
|
||||
|
||||
|
||||
form.birthday->setVisible(false);
|
||||
form.txtSeed->setVisible(false);
|
||||
|
||||
|
||||
QString seed = parent->getSeed();
|
||||
QString birthday = parent->getBirthday();
|
||||
@@ -616,6 +618,8 @@ bool NewSeedPage::validatePage() {
|
||||
QMessageBox::warning(this, tr("Wrong Seed"),
|
||||
tr("Please try again") + "\n" ,
|
||||
QMessageBox::Ok);
|
||||
form.birthday->setVisible(true);
|
||||
form.txtSeed->setVisible(true);
|
||||
return false;
|
||||
this->validatePage();
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ void MainWindow::removeWalletEncryptionStartUp() {
|
||||
|
||||
QObject::connect(ed.new_restore, &QPushButton::clicked, [&] {
|
||||
|
||||
d.close();
|
||||
d.close();
|
||||
QFile wallet(dirwallet);
|
||||
QFile walletenc(dirwalletenc);
|
||||
|
||||
@@ -644,9 +644,7 @@ void MainWindow::removeWalletEncryptionStartUp() {
|
||||
walletenc.remove();
|
||||
|
||||
auto cl = new ConnectionLoader(this, rpc);
|
||||
cl->loadConnection();
|
||||
|
||||
|
||||
cl->loadConnection();
|
||||
});
|
||||
|
||||
if (d.exec() == QDialog::Accepted)
|
||||
|
||||
Reference in New Issue
Block a user