Reload the screen directly under when destroying wizard
issue2279 review262002
This commit is contained in:
1 parent
739038204d
commit
1b0c687b59
1 file changed
+6
-2
@@ -348,9 +348,13 @@ class WizardDialog(Wizard, NoModal):
|
||||
if current_form:
|
||||
for dialog in current_form.dialogs:
|
||||
dialog.show()
|
||||
if hasattr(self.page, 'screen'):
|
||||
self.page.screen.reload(written=True)
|
||||
super(WizardDialog, self).destroy()
|
||||
if self.page.dialogs:
|
||||
dialog = self.page.dialogs[-1]
|
||||
else:
|
||||
dialog = self.page
|
||||
if hasattr(dialog, 'screen'):
|
||||
dialog.screen.reload(written=True)
|
||||
|
||||
def end(self):
|
||||
super(WizardDialog, self).end()
|
||||
|
||||
Reference in new issue
Block a user