SeedDialog: add 25 word seed toggle

This commit is contained in:
tobtoht
2020-11-11 23:09:35 +01:00
parent b66aceccc8
commit 0f3c005b60
4 changed files with 41 additions and 20 deletions
+1 -6
View File
@@ -851,12 +851,7 @@ void MainWindow::showWalletInfoDialog() {
}
void MainWindow::showSeedDialog() {
QString seed = m_ctx->currentWallet->getCacheAttribute("feather.seed");
if (seed.isEmpty()) {
seed = m_ctx->currentWallet->getSeed();
}
auto *dialog = new SeedDialog(seed, this);
auto *dialog = new SeedDialog(m_ctx->currentWallet, this);
dialog->exec();
dialog->deleteLater();
}