Fixed triple click bug while drawing zones with DRAWING_TOOL.
This commit is contained in:
parent
48161dcc4a
commit
1ff99b47c8
|
@ -1006,6 +1006,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
|
|||
|
||||
m_frame->OnModify();
|
||||
m_frame->SaveCopyInUndoList( zone, UR_NEW );
|
||||
|
||||
zone = NULL;
|
||||
}
|
||||
else
|
||||
delete zone;
|
||||
|
|
Loading…
Reference in New Issue