summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index f7684670..2022b040 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -51,6 +51,8 @@ BuySellDialog::BuySellDialog(Network *network):
setContentSize(x, 2 * y + buyButton->getHeight());
+ setLocationRelativeTo(ImageRect::CENTER);
+
requestFocus();
}