Browse Source

qt: re-add processEvents() calls for abstract wizard.

might work around #8809/#8815
master
Sander van Grieken 2 years ago
parent
commit
1f5004320b
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 10
      electrum/gui/qt/wizard/wizard.py

10
electrum/gui/qt/wizard/wizard.py

@ -113,12 +113,12 @@ class QEAbstractWizard(QDialog, MessageBoxMixin):
QTimer.singleShot(40, self.strt)
# TODO: re-test if needed on macOS
# self.refresh_gui() # Need for QT on MacOSX. Lame.
self.refresh_gui() # Need for QT on MacOSX. Lame.
# def refresh_gui(self):
# # For some reason, to refresh the GUI this needs to be called twice
# self.app.processEvents()
# self.app.processEvents()
def refresh_gui(self):
# For some reason, to refresh the GUI this needs to be called twice
self.app.processEvents()
self.app.processEvents()
def sizeHint(self) -> QSize:
return QSize(600, 400)

Loading…
Cancel
Save