diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-02 13:20:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-02 13:20:23 +0300 |
commit | 39a3fd884d6d585825d9f80a578c6f466a856ec3 (patch) | |
tree | ee0184c30b08dd452ae9e4e523a9bb6aa291f33b /src/gui/windows/buydialog.cpp | |
parent | 35278ed7f80ed8a02785573d510c36b38998debe (diff) | |
download | plus-39a3fd884d6d585825d9f80a578c6f466a856ec3.tar.gz plus-39a3fd884d6d585825d9f80a578c6f466a856ec3.tar.bz2 plus-39a3fd884d6d585825d9f80a578c6f466a856ec3.tar.xz plus-39a3fd884d6d585825d9f80a578c6f466a856ec3.zip |
Set correct step in sliders.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index 8bece77ef..e86bf344e 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -224,7 +224,7 @@ void BuyDialog::init() getOptionBool("showbackground"), "buy_background.xml"); mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); - mSlider = new Slider(this, 1.0); + mSlider = new Slider(this, 1.0, 1.0); mQuantityLabel = new Label(this, strprintf( "%d / %d", mAmountItems, mMaxItems)); mQuantityLabel->setAlignment(Graphics::CENTER); |