summaryrefslogtreecommitdiff
path: root/src/gui/windows/maileditwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r--src/gui/windows/maileditwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index b70188786..017113f0e 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -82,7 +82,7 @@ MailEditWindow::MailEditWindow() :
mItemContainer(new ItemContainer(this, mInventory, 100000,
ShowEmptyRows_false, ForceQuantity_false)),
mItemScrollArea(new ScrollArea(this, mItemContainer,
- fromBool(getOptionBool("showitemsbackground"), Opaque),
+ fromBool(getOptionBool("showitemsbackground", false), Opaque),
"mailedit_listbackground.xml")),
mUseMail2(settings.enableNewMailSystem)
{
@@ -94,7 +94,7 @@ MailEditWindow::MailEditWindow() :
setStickyButtonLock(true);
setVisible(Visible_true);
- setDefaultSize(380, 200, ImagePosition::CENTER);
+ setDefaultSize(380, 200, ImagePosition::CENTER, 0, 0);
setMinWidth(200);
setMinHeight(200);
center();