diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-09 11:40:30 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-09 11:40:30 (GMT) |
| commit | b2907798f28b4acce5b024f025e7b96079f53338 (patch) | |
| tree | b331b195c491344afc48d61da4db730fc2ae817a /src/dialogues/ConfirmPrompt.cpp | |
| parent | da9cec2c3bbf0ff46642ffbbf918d3afa513069a (diff) | |
| download | powder-b2907798f28b4acce5b024f025e7b96079f53338.zip powder-b2907798f28b4acce5b024f025e7b96079f53338.tar.gz | |
Fix issue where unborn children were slaughtered when removing a component from an event
Diffstat (limited to 'src/dialogues/ConfirmPrompt.cpp')
| -rw-r--r-- | src/dialogues/ConfirmPrompt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogues/ConfirmPrompt.cpp b/src/dialogues/ConfirmPrompt.cpp index d97e8c8..e3c8e3a 100644 --- a/src/dialogues/ConfirmPrompt.cpp +++ b/src/dialogues/ConfirmPrompt.cpp @@ -32,7 +32,7 @@ ConfirmPrompt::ConfirmPrompt(std::string title, std::string message, ConfirmDial { ui::Engine::Ref().CloseWindow(); prompt->callback->ConfirmCallback(result); - //delete prompt; TODO: Fix component disposal + prompt->SelfDestruct(); //TODO: Fix component disposal } }; |
