parent
078ba510b4
commit
3c0566d318
|
@ -1305,6 +1305,11 @@ bool SCH_EDITOR_CONTROL::doCopy( bool aUseDuplicateClipboard )
|
|||
// and the field text is in it
|
||||
selection.Add( item->GetParent() );
|
||||
}
|
||||
else if( item->Type() == SCH_MARKER_T )
|
||||
{
|
||||
// Don't let the markers be copied
|
||||
selection.Remove( item );
|
||||
}
|
||||
}
|
||||
|
||||
STRING_FORMATTER formatter;
|
||||
|
|
|
@ -2712,6 +2712,11 @@ int EDIT_TOOL::copyToClipboard( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
aCollector.Remove( item );
|
||||
}
|
||||
else if( item->Type() == PCB_MARKER_T )
|
||||
{
|
||||
// Don't allow copying marker objects
|
||||
aCollector.Remove( item );
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue