summaryrefslogtreecommitdiff
path: root/client/widgets/listbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/listbox.cc')
-rw-r--r--client/widgets/listbox.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/widgets/listbox.cc b/client/widgets/listbox.cc
index a47812a..5215c18 100644
--- a/client/widgets/listbox.cc
+++ b/client/widgets/listbox.cc
@@ -80,6 +80,10 @@ ListBox::ListBox(QDomNode &node, MacroWindow *macrowindow)
setMinimumHeight(elem.attribute("height").toInt());
}
+ if(elem.hasAttribute("help")) {
+ setToolTip(elem.attribute("help"));
+ }
+
QDomNodeList children = node.childNodes();
for (int i=0; i < children.count(); i++) {