Commit 1ff99b47 authored by Maciej Suminski's avatar Maciej Suminski

Fixed triple click bug while drawing zones with DRAWING_TOOL.

parent 48161dcc
...@@ -1006,6 +1006,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout ) ...@@ -1006,6 +1006,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
m_frame->OnModify(); m_frame->OnModify();
m_frame->SaveCopyInUndoList( zone, UR_NEW ); m_frame->SaveCopyInUndoList( zone, UR_NEW );
zone = NULL;
} }
else else
delete zone; delete zone;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment