From feffa6de910e651cae617077e9c4bdd2be577f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 22 Mar 2008 16:39:41 +0100 Subject: [PATCH] Call display after show all widgets of dialof one2many to set states correctly --- tryton/gui/window/view_form/view/form_gtk/one2many.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/form_gtk/one2many.py b/tryton/gui/window/view_form/view/form_gtk/one2many.py index fe5e71cf97..68e5485f59 100644 --- a/tryton/gui/window/view_form/view/form_gtk/one2many.py +++ b/tryton/gui/window/view_form/view/form_gtk/one2many.py @@ -83,8 +83,8 @@ class Dialog(object): viewport.add(self.screen.widget) width, height = self.screen.screen_container.size_get() viewport.set_size_request(width, height + 30) - self.screen.display() self.dia.show_all() + self.screen.display() def new(self): model = self.screen.new(context=self.default_get_ctx)