summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r--src/gui/charselectdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index a912b9198..8315bb5d4 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -565,6 +565,9 @@ CharacterDisplay::CharacterDisplay(const Widget2 *const widget,
mButton(new Button(this, "wwwwwwwww", "go", charSelectDialog)),
mDelete(new Button(this, _("Delete"), "delete", charSelectDialog))
{
+ mPlayerBox->setActionEventId("use");
+ mPlayerBox->addActionListener(charSelectDialog);
+
LayoutHelper h(this);
ContainerPlacer placer = h.getPlacer(0, 0);