From 62b48f47d5a0c0a592158b8f32ea7bdb5b085c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 28 Sep 2011 19:14:09 +0200 Subject: [PATCH] Fix common.ask in prefernce to work with no-modal --- tryton/gui/window/preference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/preference.py b/tryton/gui/window/preference.py index 53b40783d3..3f0359675c 100644 --- a/tryton/gui/window/preference.py +++ b/tryton/gui/window/preference.py @@ -86,7 +86,7 @@ class Preference(object): vals = copy.copy(self.screen.get(get_modifiedonly=True)) if 'password' in vals: password = common.ask(_('Current Password:'), - self.win, visibility=False) + visibility=False) if not password: break else: