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 48161dcc4a
commit 1ff99b47c8
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;