diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-18 11:27:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-18 11:27:22 +0300 |
commit | 0971280bb608bcf9060bc9265c128f38e1a8058e (patch) | |
tree | 4a95fe2df51b87390b0d2d47bb1f64f78061e743 /src/gui | |
parent | 997a8cd0794f208d4c148588f42695f2a5d0b3a8 (diff) | |
download | manaplus-0971280bb608bcf9060bc9265c128f38e1a8058e.tar.gz manaplus-0971280bb608bcf9060bc9265c128f38e1a8058e.tar.bz2 manaplus-0971280bb608bcf9060bc9265c128f38e1a8058e.tar.xz manaplus-0971280bb608bcf9060bc9265c128f38e1a8058e.zip |
Add tooltips to checkboxes in setup items.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |