Check for the existence of a screen before restoring size of wizard's dialog window

Closes #12944
This commit is contained in:
Nicolas Évrard committed 2024-04-13 17:42:02 +02:00
1 parent 38037cb8c5
commit a73b28ce96
1 file changed
+2
+2
View File
@@ -402,6 +402,8 @@ class WizardDialog(Wizard, NoModal):
return True
def show(self):
if not self.screen:
return
view = self.screen.current_view
if view.view_type == 'form':
expand = False