summaryrefslogtreecommitdiff
path: root/client/widgets/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/label.cc')
-rw-r--r--client/widgets/label.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/widgets/label.cc b/client/widgets/label.cc
index 47a709e..1d58665 100644
--- a/client/widgets/label.cc
+++ b/client/widgets/label.cc
@@ -40,6 +40,10 @@ Label::Label(QDomNode &node, MacroWindow *macrowindow)
setMinimumHeight(elem.attribute("height").toInt());
}
+ if(elem.hasAttribute("help")) {
+ setToolTip(elem.attribute("help"));
+ }
+
if(elem.hasAttribute("caption")) {
setText(elem.attribute("caption"));
} else {