wizard: added option to override embedded wallet creation date for 14/16-word seeds

This commit is contained in:
tobtoht
2023-01-13 14:16:53 +01:00
parent b0cc17564d
commit bace4fd0a8
5 changed files with 24 additions and 4 deletions
+6
View File
@@ -45,6 +45,12 @@ void PageSetRestoreHeight::initializePage() {
ui->line_restoreHeight->setText("");
ui->frame_scanWarning->hide();
ui->frame_walletAgeWarning->hide();
if (m_fields->seedCreationDateOverridden) {
auto creationDate = QDateTime::fromSecsSinceEpoch(m_fields->seed.time);
ui->line_creationDate->setText(creationDate.toString("yyyy-MM-dd"));
this->onCreationDateEdited();
}
}
void PageSetRestoreHeight::onCreationDateEdited() {