Schematic: actually check for hover on duplicate
This commit is contained in:
parent
144cd0b7f2
commit
171cffec28
|
@ -1213,7 +1213,7 @@ bool SCH_EDITOR_CONTROL::doCopy( bool aUseDuplicateClipboard )
|
||||||
SCH_SHEET* sheet = (SCH_SHEET*) item;
|
SCH_SHEET* sheet = (SCH_SHEET*) item;
|
||||||
m_supplementaryClipboard[ sheet->GetFileName() ] = sheet->GetScreen();
|
m_supplementaryClipboard[ sheet->GetFileName() ] = sheet->GetScreen();
|
||||||
}
|
}
|
||||||
else if( item->Type() == SCH_FIELD_T )
|
else if( item->Type() == SCH_FIELD_T && selection.IsHover() )
|
||||||
{
|
{
|
||||||
// Most of the time the user is trying to duplicate the parent symbol
|
// Most of the time the user is trying to duplicate the parent symbol
|
||||||
// and the field text is in it
|
// and the field text is in it
|
||||||
|
|
Loading…
Reference in New Issue