From c0018170296fc06e33f6ff1de05f85752f8efd7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 9 Apr 2010 20:11:35 +0200 Subject: [PATCH] Ensure that the current view widget is set on the screen container for issue1498 --- tryton/gui/window/view_form/screen/screen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/gui/window/view_form/screen/screen.py b/tryton/gui/window/view_form/screen/screen.py index 68890565fe..420db56fa0 100644 --- a/tryton/gui/window/view_form/screen/screen.py +++ b/tryton/gui/window/view_form/screen/screen.py @@ -237,6 +237,7 @@ class Screen(SignalEvent): if self.current_record and self.current_record not in self.group: self.current_record = None if self.current_record and not self.current_record.validate(): + self.screen_container.set(self.current_view.widget) self.current_view.set_cursor() self.current_view.display() return