summaryrefslogtreecommitdiff
path: root/src/gui/shopwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r--src/gui/shopwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp
index a0e91dd26..87d2e8f25 100644
--- a/src/gui/shopwindow.cpp
+++ b/src/gui/shopwindow.cpp
@@ -84,8 +84,8 @@ ShopWindow::ShopWindow():
getOptionBool("showbuybackground"), "shop_buy_background.xml")),
mSellScrollArea(new ScrollArea(mSellShopItemList,
getOptionBool("showsellbackground"), "shop_sell_background.xml")),
- mBuyLabel(new Label(_("Buy items"))),
- mSellLabel(new Label(_("Sell items"))),
+ mBuyLabel(new Label(this, _("Buy items"))),
+ mSellLabel(new Label(this, _("Sell items"))),
mBuyAddButton(new Button(this, _("Add"), "add buy", this)),
mBuyDeleteButton(new Button(this, _("Delete"), "delete buy", this)),
mBuyAnnounceButton(new Button(this, _("Announce"), "announce buy", this)),