diff --git a/tryton/tryton/gui/window/view_form/view/form_gtk/char.py b/tryton/tryton/gui/window/view_form/view/form_gtk/char.py index 5129a220fd..baea8dfe15 100644 --- a/tryton/tryton/gui/window/view_form/view/form_gtk/char.py +++ b/tryton/tryton/gui/window/view_form/view/form_gtk/char.py @@ -171,10 +171,5 @@ class Password(Char): self.widget.pack_start( self.visibility_checkbox, expand=False, fill=True, padding=0) - def _readonly_set(self, value): - super(Char, self)._readonly_set(value) - self.entry.set_editable(not value) - self.visibility_checkbox.props.visible = not value - def toggle_visibility(self, button): self.entry.props.visibility = not self.entry.props.visibility