Browse Source

One more fix for compiling

9.0
Seth Hillbrand 6 days ago
parent
commit
ec6af273bb
  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 ) if( pasteMode == PASTE_MODE::UNIQUE_ANNOTATIONS )
{ {
annotatedSymbols[path].ReannotateDuplicates( existingRefs, annotate.method );
annotatedSymbols[path].ReannotateDuplicates( existingRefs, (ANNOTATE_ALGO_T) annotate.method );
} }
else else
{ {
@ -2185,7 +2185,7 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
if( pasteMode == PASTE_MODE::UNIQUE_ANNOTATIONS ) if( pasteMode == PASTE_MODE::UNIQUE_ANNOTATIONS )
{ {
annotatedSymbols[pastedSheetPath].ReannotateDuplicates( existingRefs, annotate.method );
annotatedSymbols[pastedSheetPath].ReannotateDuplicates( existingRefs, (ANNOTATE_ALGO_T) annotate.method );
} }
else else
{ {

Loading…
Cancel
Save