diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-27 09:38:56 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-27 09:38:56 (GMT) |
| commit | ebd80c73de6b02e1fcf731aa0f377b6085128e57 (patch) | |
| tree | 24c380dbfbde4c3dc34dc1f995f0ad2b177b6e7a /src/interface/Button.cpp | |
| parent | e84f0fc6e5301265708a99b13ab898ce45422611 (diff) | |
| download | powder-ebd80c73de6b02e1fcf731aa0f377b6085128e57.zip powder-ebd80c73de6b02e1fcf731aa0f377b6085128e57.tar.gz | |
Some inlines and Checkbox ui component
Diffstat (limited to 'src/interface/Button.cpp')
| -rw-r--r-- | src/interface/Button.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Button.cpp b/src/interface/Button.cpp index 8fe847e..b145b38 100644 --- a/src/interface/Button.cpp +++ b/src/interface/Button.cpp @@ -204,6 +204,8 @@ void Button::DoAction() void Button::SetActionCallback(ButtonAction * action) { + if(actionCallback) + delete actionCallback; actionCallback = action; } |
