Merge pull request 'SeedDialog: add 25 word seed toggle' (#147) from tobtoht/feather:seed_25 into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/147
This commit is contained in:
tobtoht
2020-11-11 22:12:47 +00:00
4 changed files with 41 additions and 20 deletions
+1 -6
View File
@@ -859,12 +859,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();
}