Browse Source

Qt wizard: raise GoBack from None

results in cleaner traces
3.2.x
SomberNight 7 years ago
parent
commit
6eb38d6b8c
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      gui/qt/installwizard.py

2
gui/qt/installwizard.py

@ -348,7 +348,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
if not result and raise_on_cancel:
raise UserCancelled
if result == 1:
raise GoBack
raise GoBack from None
self.title.setVisible(False)
self.back_button.setEnabled(False)
self.next_button.setEnabled(False)

Loading…
Cancel
Save