Qt wizard: raise GoBack from None

results in cleaner traces
This commit is contained in:
SomberNight 2018-04-03 14:14:36 +02:00
parent 42582b6a64
commit 6eb38d6b8c
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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)