Check for the existence of a screen before restoring size of wizard's dialog window
Closes #12944
This commit is contained in:
1 parent
38037cb8c5
commit
a73b28ce96
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user