1
0

wizard: fix wrong icon and icon disappearing when resuming unfinished wallet

This commit is contained in:
Sander van Grieken
2024-05-16 00:08:07 +02:00
parent 2fb2966975
commit cea9055a65
2 changed files with 5 additions and 2 deletions

View File

@@ -227,6 +227,8 @@ class Plugin(TrustedCoinPlugin):
def init_wallet_wizard(self, wizard: 'QENewWalletWizard'):
wizard.trustedcoin_qhelper = TrustedcoinPluginQObject(self, wizard, None)
self.extend_wizard(wizard)
if wizard.start_viewstate and wizard.start_viewstate.view.startswith('trustedcoin_'):
wizard.start_viewstate.params.update({'icon': icon_path('trustedcoin-wizard.png')})
def extend_wizard(self, wizard: 'QENewWalletWizard'):
super().extend_wizard(wizard)