summaryrefslogtreecommitdiff
path: root/src/gui/windows/worldselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
commit30ba8a737da8b1811397786106085f2c13167803 (patch)
tree09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/windows/worldselectdialog.cpp
parent03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff)
downloadmanaplus-30ba8a737da8b1811397786106085f2c13167803.tar.gz
manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.bz2
manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.xz
manaplus-30ba8a737da8b1811397786106085f2c13167803.zip
Remove default parameters from window.
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r--src/gui/windows/worldselectdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp
index 87907845e..e44fea8dd 100644
--- a/src/gui/windows/worldselectdialog.cpp
+++ b/src/gui/windows/worldselectdialog.cpp
@@ -55,7 +55,7 @@ WorldSelectDialog::WorldSelectDialog(const Worlds &worlds) :
mChooseWorld(new Button(this, _("Choose World"), "world", this))
{
ScrollArea *const worldsScroll = new ScrollArea(this, mWorldList,
- fromBool(getOptionBool("showbackground"), Opaque),
+ fromBool(getOptionBool("showbackground", false), Opaque),
"world_background.xml");
worldsScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);