prevent wizard screen reload when sensible_widget is the main window

review534002
This commit is contained in:
Nicolas Évrard committed 2012-09-25 12:56:12 +02:00
1 parent 3e47c94097
commit 5c6b4f72f5
1 file changed
+1
+1
View File
@@ -349,6 +349,7 @@ class WizardDialog(Wizard, NoModal):
dialog = self.page
if (hasattr(dialog, 'screen')
and dialog.screen.current_record
and self.sensible_widget != main.window
and self.ids):
dialog.screen.reload(self.ids, written=True)