1
0

qt wizard: clear up some log messages

This commit is contained in:
SomberNight
2023-12-01 15:31:50 +00:00
parent 05758432d6
commit 5d178d3a7c
2 changed files with 4 additions and 4 deletions

View File

@@ -413,9 +413,9 @@ class ElectrumGui(BaseElectrumGui, Logger):
wizard = QENewWalletWizard(self.config, self.app, self.plugins, self.daemon, path)
result = wizard.exec()
# TODO: use dialog.open() instead to avoid new event loop spawn?
self.logger.info(f'{result}')
self.logger.info(f'wizard dialog exec result={result}')
if result == QENewWalletWizard.Rejected:
self.logger.info('ok bye bye')
self.logger.info('wizard dialog cancelled by user')
return
d = wizard.get_wizard_data()
@@ -461,7 +461,7 @@ class ElectrumGui(BaseElectrumGui, Logger):
start_viewstate=WizardViewState('trustedcoin_tos_email', data, {}))
result = wizard.exec()
if result == QENewWalletWizard.Rejected:
self.logger.info('ok bye bye')
self.logger.info('wizard dialog cancelled by user')
return
db.put('x3', wizard.get_wizard_data()['x3'])
db.write()

View File

@@ -142,7 +142,7 @@ class QEAbstractWizard(QDialog, MessageBoxMixin):
page.wizard_data = copy.deepcopy(wdata)
page.params = params
page.updated.connect(self.on_page_updated)
self._logger.debug(f'{page!r}')
self._logger.debug(f'load_next_component: {page=!r}')
# add to stack and update wizard
self.main_widget.setCurrentIndex(self.main_widget.addWidget(page))