Fixed triple click bug while drawing zones with DRAWING_TOOL.

This commit is contained in:
Maciej Suminski 2014-03-18 11:09:43 +01:00
parent a3cd531e9e
commit 5dd03b4ecd
1 changed files with 2 additions and 0 deletions

View File

@ -1006,6 +1006,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
m_frame->OnModify();
m_frame->SaveCopyInUndoList( zone, UR_NEW );
zone = NULL;
}
else
delete zone;