Ensure that the current view widget is set on the screen container for issue1498

This commit is contained in:
Cédric Krier committed 2010-04-09 20:11:35 +02:00
1 parent daf68d4460
commit c001817029
1 file changed
+1
@@ -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