summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-19 22:02:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-20 00:26:53 +0300
commite3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91 (patch)
tree2959d64c52fb2d9df7ca30fb5a400e17570c4861 /src/gui/widgets/setupitem.cpp
parentac9d9925b52789abc07795d5ed52dd0de620c757 (diff)
downloadmv-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.gz
mv-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.bz2
mv-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.xz
mv-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.cpp3
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);