Mercurial > libervia-backend
diff sat/tools/xml_tools.py @ 3448:987198910e56
tools (xml_tools): add missing `value` property to JidWidget
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 10 Dec 2020 14:11:45 +0100 |
parents | a4774f5b6b17 |
children | 80f8635dc66e |
line wrap: on
line diff
--- a/sat/tools/xml_tools.py Thu Dec 10 10:32:54 2020 +0100 +++ b/sat/tools/xml_tools.py Thu Dec 10 14:11:45 2020 +0100 @@ -983,6 +983,10 @@ except AttributeError: self.elem.setAttribute("value", str(jid)) + @property + def value(self): + return self.elem.getAttribute("value") + class DividerWidget(Widget): type = "divider"