From 6eb38d6b8c7bb3f03fda773d402bd619d8fea3a5 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 3 Apr 2018 14:14:36 +0200 Subject: [PATCH] Qt wizard: raise GoBack from None results in cleaner traces --- gui/qt/installwizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 6bef0da35..e1830ebfa 100644 --- a/gui/qt/installwizard.py +++ b/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)