summaryrefslogtreecommitdiff
path: root/src/gui/windows/selldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/selldialog.cpp')
-rw-r--r--src/gui/windows/selldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp
index aad3619ba..b79d18dcf 100644
--- a/src/gui/windows/selldialog.cpp
+++ b/src/gui/windows/selldialog.cpp
@@ -90,7 +90,7 @@ void SellDialog::init()
getOptionBool("showbackground"), "sell_background.xml");
mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);
- mSlider = new Slider(1.0);
+ mSlider = new Slider(this, 1.0);
mQuantityLabel = new Label(this, strprintf(
"%d / %d", mAmountItems, mMaxItems));