diff options
| author | jacob1 <jfu614@gmail.com> | 2012-11-16 01:00:55 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2012-11-16 01:00:55 (GMT) |
| commit | 38a18af2c5557ee80392ac3f124fdfd531eaf45d (patch) | |
| tree | c18612c20c7fc91ff23359f084946cc01f8be21b /src/tasks/TaskWindow.cpp | |
| parent | 785fbcefdf8e2e71063f947abf307becc0bf8c26 (diff) | |
| download | powder-38a18af2c5557ee80392ac3f124fdfd531eaf45d.zip powder-38a18af2c5557ee80392ac3f124fdfd531eaf45d.tar.gz | |
fix crashes when deleting stamps or getting an error when saving
Diffstat (limited to 'src/tasks/TaskWindow.cpp')
| -rw-r--r-- | src/tasks/TaskWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks/TaskWindow.cpp b/src/tasks/TaskWindow.cpp index 7a1c544..b3055d1 100644 --- a/src/tasks/TaskWindow.cpp +++ b/src/tasks/TaskWindow.cpp @@ -60,7 +60,7 @@ void TaskWindow::Exit() if(ui::Engine::Ref().GetWindow()==this) { ui::Engine::Ref().CloseWindow(); - delete this; + SelfDestruct(); } } |
