From b2a2b22949db0a8e3441bd0f5bdaf3eaed22e876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 20 Oct 2008 21:51:01 +0200 Subject: [PATCH] Add missing parent present --- tryton/common/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/common/common.py b/tryton/common/common.py index a579008bc2..9090dcc54a 100644 --- a/tryton/common/common.py +++ b/tryton/common/common.py @@ -225,6 +225,7 @@ def file_selection(title, filename='', parent=None, button = win.run() if button != gtk.RESPONSE_OK: + parent.present() win.destroy() return False if not multi: