Call display after show all widgets of dialof one2many to set states correctly
This commit is contained in:
1 parent
24699bed30
commit
feffa6de91
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user