Commit 9ba242bc authored by marco.'s avatar marco.

MacOSX: refresh overlay with new-deleted objects

parent 97749ed1
......@@ -347,15 +347,15 @@ void PCB_EDIT_FRAME::SaveCopyInUndoList( BOARD_ITEM* aItem,
break;
case UR_NEW:
case UR_DELETED:
#ifdef USE_WX_OVERLAY
m_canvas->Refresh();
#endif
case UR_MOVED:
case UR_FLIPPED:
case UR_ROTATED:
case UR_ROTATED_CLOCKWISE:
case UR_DELETED:
commandToUndo->PushItem( itemWrapper );
#ifdef USE_WX_OVERLAY
m_canvas->Refresh();
#endif
break;
default:
......
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