fix crashes when deleting stamps or getting an error when saving
This commit is contained in:
parent
785fbcefdf
commit
38a18af2c5
@ -174,8 +174,8 @@ void ServerSaveActivity::Save()
|
||||
virtual void ConfirmCallback(ConfirmPrompt::DialogueResult result) {
|
||||
if (result == ConfirmPrompt::ResultOkay)
|
||||
{
|
||||
a->saveUpload();
|
||||
a->Exit();
|
||||
a->saveUpload();
|
||||
}
|
||||
}
|
||||
virtual ~PublishConfirmation() { }
|
||||
@ -189,8 +189,8 @@ void ServerSaveActivity::Save()
|
||||
}
|
||||
else
|
||||
{
|
||||
saveUpload();
|
||||
Exit();
|
||||
saveUpload();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -60,7 +60,7 @@ void TaskWindow::Exit()
|
||||
if(ui::Engine::Ref().GetWindow()==this)
|
||||
{
|
||||
ui::Engine::Ref().CloseWindow();
|
||||
delete this;
|
||||
SelfDestruct();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user