From e06775bd7fd937db1148ecea6e162ad76821700e Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Tue, 7 Oct 2008 13:58:19 +0000 Subject: [PATCH] allow default text in ConfigPassword --- lib/python/Components/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 3b8ad01c..a70f0d47 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -764,7 +764,7 @@ class ConfigText(ConfigElement, NumericalTextInput): class ConfigPassword(ConfigText): def __init__(self, default = "", fixed_size = False, visible_width = False, censor = "*"): - ConfigText.__init__(self, default = "", fixed_size = fixed_size, visible_width = visible_width) + ConfigText.__init__(self, default = default, fixed_size = fixed_size, visible_width = visible_width) self.censor_char = censor self.hidden = True -- 2.30.2