summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-19 16:27:51 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-19 16:27:51 -0600
commit61f4e3b9838ac7a0e06cd066ea07224670f1b851 (patch)
treebacea13fd0e6e4bd0ebacdb74eea6a9db114b4b4 /src/gui/sell.cpp
parentdbf402a235d142b44c1936c305f6b3f4c02890bc (diff)
downloadmana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.tar.gz
mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.tar.bz2
mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.tar.xz
mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.zip
Make sure positionable dialogs start out centered
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index 4cdabe68..e1b15bac 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -93,6 +93,7 @@ SellDialog::SellDialog(Network *network):
Layout &layout = getLayout();
layout.setRowHeight(0, Layout::AUTO_SET);
+ center();
loadWindowState();
}