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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index d4c33d30..6e338f08 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -38,10 +38,8 @@ BuySellDialog::BuySellDialog():
for (const char **curBtn = buttonNames; *curBtn; curBtn++)
{
- Button *btn = new Button(*curBtn);
+ Button *btn = new Button(*curBtn, *curBtn, this);
if (!buyButton) buyButton = btn; // For focus request
- btn->setEventId(*curBtn);
- btn->addActionListener(this);
btn->setPosition(x, y);
add(btn);
x += btn->getWidth() + 10;