Show dialog before instanciate Screen as dialog is used for popup
This commit is contained in:
1 parent
bf58591867
commit
f611767d40
1 file changed
+1
@@ -48,6 +48,7 @@ class Dialog(object):
|
||||
gtk.keysyms.Return, gtk.gdk.CONTROL_MASK, gtk.ACCEL_VISIBLE)
|
||||
|
||||
self.dia.set_default_response(gtk.RESPONSE_OK)
|
||||
self.dia.show()
|
||||
|
||||
self.screen = Screen(model, self.dia, domain=domain, context=context,
|
||||
view_type=['form'], views_preload=attrs.get('views', {}))
|
||||
|
||||
Reference in new issue
Block a user