From 41adf71a823f475b7f12b00e06056b778311da84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 00:52:01 +0300 Subject: Add palette inheritance to button class. --- src/gui/worldselectdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/worldselectdialog.cpp') diff --git a/src/gui/worldselectdialog.cpp b/src/gui/worldselectdialog.cpp index babb06fa1..3623fb3cc 100644 --- a/src/gui/worldselectdialog.cpp +++ b/src/gui/worldselectdialog.cpp @@ -82,8 +82,8 @@ WorldSelectDialog::WorldSelectDialog(Worlds worlds): gcn::KeyListener(), mWorldListModel(new WorldListModel(worlds)), mWorldList(new ListBox(this, mWorldListModel)), - mChangeLoginButton(new Button(_("Change Login"), "login", this)), - mChooseWorld(new Button(_("Choose World"), "world", this)) + mChangeLoginButton(new Button(this, _("Change Login"), "login", this)), + mChooseWorld(new Button(this, _("Choose World"), "world", this)) { ScrollArea *const worldsScroll = new ScrollArea(mWorldList, getOptionBool("showbackground"), "world_background.xml"); -- cgit v1.2.3-60-g2f50