Check for the existence of a screen before restoring size of wizard's dialog window
Closes #12944 (grafted from af40ac94803e01092fccbdc553cc772f251b9abd) --HG-- branch : 7.0
This commit is contained in:
1 parent
4c1cb2a9d3
commit
b0ae3e4fa5
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