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, 1 insertions, 1 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index cc9cbcc6..c81744dc 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -38,7 +38,7 @@ BuySellDialog::BuySellDialog():
buyButton->getX() + buyButton->getWidth() + 10, 10);
cancelButton->setPosition(
sellButton->getX() + sellButton->getWidth() + 10, 10);
- setSize(cancelButton->getX() + cancelButton->getWidth() + 10,
+ setContentSize(cancelButton->getX() + cancelButton->getWidth() + 10,
cancelButton->getY() + cancelButton->getHeight() + 10);
buyButton->setEventId("buy");