~openerp-dev/openobject-client/6.1-opw-576013-cbi

« back to all changes in this revision

Viewing changes to bin/common/common.py

  • Committer: Chris Biersbach
  • Date: 2012-08-31 13:01:23 UTC
  • Revision ID: cbi@openerp.com-20120831130123-gz1ob1by4r1jpfdj
[FIX] OPW 576013: common: removed duplicate code that caused a dialog window to freeze on certain occasions

Show diffs side-by-side

added added

removed removed

Lines of Context:
604
604
    l = ui.get_object('lab_question')
605
605
    l.set_text(msg)
606
606
 
607
 
    if not parent:
608
 
        parent=service.LocalService('gui.main').window
609
 
    win.set_transient_for(parent)
610
607
    win.set_icon(OPENERP_ICON)
611
608
 
612
609
    response = win.run()