Browse Source

Fix cherry-pick error

9.0
Seth Hillbrand 2 days ago
parent
commit
0dd4d0e46c
  1. 4
      eeschema/tools/sch_editor_control.cpp

4
eeschema/tools/sch_editor_control.cpp

@ -2163,7 +2163,7 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
if( pasteMode == PASTE_MODE::UNIQUE_ANNOTATIONS )
{
annotatedSymbols[path].ReannotateDuplicates( existingRefs, annotateAlgo );
annotatedSymbols[path].ReannotateDuplicates( existingRefs, annotate.method );
}
else
{
@ -2185,7 +2185,7 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
if( pasteMode == PASTE_MODE::UNIQUE_ANNOTATIONS )
{
annotatedSymbols[pastedSheetPath].ReannotateDuplicates( existingRefs, annotateAlgo );
annotatedSymbols[pastedSheetPath].ReannotateDuplicates( existingRefs, annotate.method );
}
else
{

Loading…
Cancel
Save