summaryrefslogtreecommitdiff
path: root/client/widgets/textedit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/textedit.cc')
-rw-r--r--client/widgets/textedit.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/widgets/textedit.cc b/client/widgets/textedit.cc
index dbc9e25..0cd2d4f 100644
--- a/client/widgets/textedit.cc
+++ b/client/widgets/textedit.cc
@@ -44,6 +44,10 @@ TextEdit::TextEdit(QDomNode &node, MacroWindow *macrowindow)
setMinimumHeight(elem.attribute("height").toInt());
}
+ if(elem.hasAttribute("help")) {
+ setToolTip(elem.attribute("help"));
+ }
+
connect(this, SIGNAL(textChanged()), this, SLOT(changed()));
/* // This is done later