Fix crash. Made mistake when created method SaveDialogChange.
--HG-- branch : feature
This commit is contained in:
parent
c23a93037c
commit
43f8dffaf2
|
@ -114,7 +114,8 @@ void VDrawTool::FullUpdateFromGuiOk(int result)
|
|||
{
|
||||
SaveDialogChange();
|
||||
}
|
||||
DialogLinkDestroy();
|
||||
delete dialog;
|
||||
dialog=nullptr;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -148,7 +149,6 @@ void VDrawTool::SaveDialogChange()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VDrawTool::DialogLinkDestroy()
|
||||
{
|
||||
delete this->dialog;
|
||||
this->dialog=nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user