diff options
Diffstat (limited to 'client/widgets/checkbox.cc')
-rw-r--r-- | client/widgets/checkbox.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/widgets/checkbox.cc b/client/widgets/checkbox.cc index 95f5a53..1f089bb 100644 --- a/client/widgets/checkbox.cc +++ b/client/widgets/checkbox.cc @@ -41,8 +41,10 @@ CheckBox::CheckBox(QDomNode &node, MacroWindow *macrowindow) if(elem.hasAttribute("caption")) { setText(elem.attribute("caption")); - } else { - setText(""); + } + + if(elem.hasAttribute("help")) { + setToolTip(elem.attribute("help")); } connect(this, SIGNAL(stateChanged(int)), this, SLOT(state_change())); |