1
0

Merge pull request #8243 from SomberNight/202303_db_metadata

Store file creation date and version in db
This commit is contained in:
ThomasV
2023-03-14 16:45:35 +01:00
committed by GitHub
2 changed files with 40 additions and 1 deletions

View File

@@ -1735,6 +1735,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):
grid.addWidget(WWLabel(_("Wallet name")+ ':'), cur_row, 0)
grid.addWidget(WWLabel(basename), cur_row, 1)
cur_row += 1
if db_metadata := self.wallet.db.get_db_metadata():
grid.addWidget(WWLabel(_("File created") + ':'), cur_row, 0)
grid.addWidget(WWLabel(db_metadata.to_str()), cur_row, 1)
cur_row += 1
grid.addWidget(WWLabel(_("Wallet type")+ ':'), cur_row, 0)
grid.addWidget(WWLabel(wallet_type), cur_row, 1)
cur_row += 1