diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-19 22:02:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-20 00:26:53 +0300 |
commit | e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91 (patch) | |
tree | 2959d64c52fb2d9df7ca30fb5a400e17570c4861 /src/gui/widgets/setupitem.cpp | |
parent | ac9d9925b52789abc07795d5ed52dd0de620c757 (diff) | |
download | plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.gz plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.bz2 plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.xz plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.zip |
Add quick settings page for yellow bar options.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 98dadd046..6cb807ab5 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -686,7 +686,8 @@ void SetupItemDropDown::createControls() mDropDown->setSelected(atoi(mValue.c_str())); mWidget = mDropDown; - fixFirstItemSize(mLabel); + if (!mText.empty()) + fixFirstItemSize(mLabel); mHorizont->add(mLabel); mHorizont->add(mDropDown); |