diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-19 18:13:12 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-19 18:13:12 -0600 |
commit | abeaa1184ae1f30adeeb6684748b3cf8e3f16b11 (patch) | |
tree | 4841e3ec419114de08568cba2a5b112c83b00c06 /src/gui/button.cpp | |
parent | a7a8ec7961fd7b1c8f83b92905f85c5a6e0358c0 (diff) | |
download | mana-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.tar.gz mana-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.tar.bz2 mana-abeaa1184ae1f30adeeb6684748b3cf8e3f16b11.tar.xz mana-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.cpp | 4 |
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() |