From 81e9ebdf9a3c2830e6ebce57cd709a154872e67f Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 10 Dec 2020 14:11:45 +0100 Subject: [PATCH] tools (xml_tools): add missing `value` property to JidWidget --- sat/tools/xml_tools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sat/tools/xml_tools.py b/sat/tools/xml_tools.py index 57e6a94b..04797ccf 100644 --- a/sat/tools/xml_tools.py +++ b/sat/tools/xml_tools.py @@ -983,6 +983,10 @@ class JidWidget(Widget): except AttributeError: self.elem.setAttribute("value", str(jid)) + @property + def value(self): + return self.elem.getAttribute("value") + class DividerWidget(Widget): type = "divider"