summaryrefslogtreecommitdiff
path: root/client/widgets/button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/button.cc')
-rw-r--r--client/widgets/button.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/widgets/button.cc b/client/widgets/button.cc
index f40b0ec..0f9df2f 100644
--- a/client/widgets/button.cc
+++ b/client/widgets/button.cc
@@ -42,6 +42,10 @@ Button::Button(QDomNode &node, MacroWindow *macrowindow)
setMinimumHeight(elem.attribute("height").toInt());
}
+ if(elem.hasAttribute("help")) {
+ setToolTip(elem.attribute("help"));
+ }
+
if(elem.hasAttribute("field")) {
field = elem.attribute("field");
}