From 0971280bb608bcf9060bc9265c128f38e1a8058e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 18 Oct 2014 11:27:22 +0300 Subject: Add tooltips to checkboxes in setup items. --- src/gui/widgets/setupitem.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/setupitem.cpp') diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 03db57adf..04f818451 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -239,6 +239,7 @@ void SetupItemCheckBox::createControls() { load(); mCheckBox = new CheckBox(this, mText, mValue != "0", mParent, mEventName); + mCheckBox->setToolTip(mDescription); mWidget = mCheckBox; mParent->getContainer()->add1(mWidget); mParent->addControl(this); -- cgit v1.2.3-60-g2f50