summaryrefslogtreecommitdiff
path: root/src/gui/button.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-19 18:13:12 -0600
committerIra Rice <irarice@gmail.com>2009-03-19 18:13:12 -0600
commitabeaa1184ae1f30adeeb6684748b3cf8e3f16b11 (patch)
tree4841e3ec419114de08568cba2a5b112c83b00c06 /src/gui/button.cpp
parenta7a8ec7961fd7b1c8f83b92905f85c5a6e0358c0 (diff)
downloadmana-client-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.tar.gz
mana-client-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.tar.bz2
mana-client-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.tar.xz
mana-client-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.zip
Simplified trading dialog controls.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/button.cpp')
-rw-r--r--src/gui/button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/button.cpp b/src/gui/button.cpp
index 592edce5..1b206161 100644
--- a/src/gui/button.cpp
+++ b/src/gui/button.cpp
@@ -74,9 +74,9 @@ Button::Button(const std::string& caption, const std::string &actionEventId,
{
init();
setActionEventId(actionEventId);
- if (listener) {
+
+ if (listener)
addActionListener(listener);
- }
}
void Button::init()