SCH_EDITOR_CONTROL::Paste() - Adjust refdes behavior to match when creating new symbols
Pass 'false' as aStartAtCurrent to ReannotateByOptions(). Causes Pasing() symbols to start at the first available refdes after the currently configured annotate start number, m_annotateStartNum. Fixes #13342
This commit is contained in:
parent
4065e413ea
commit
e14f0848fa
|
@ -1828,7 +1828,7 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
|
||||||
annotatedSymbols[instance].ReannotateByOptions( (ANNOTATE_ORDER_T) annotate.sort_order,
|
annotatedSymbols[instance].ReannotateByOptions( (ANNOTATE_ORDER_T) annotate.sort_order,
|
||||||
(ANNOTATE_ALGO_T) annotate.method,
|
(ANNOTATE_ALGO_T) annotate.method,
|
||||||
annotateStartNum, existingRefs,
|
annotateStartNum, existingRefs,
|
||||||
true,
|
false,
|
||||||
&hierarchy );
|
&hierarchy );
|
||||||
|
|
||||||
annotatedSymbols[instance].UpdateAnnotation();
|
annotatedSymbols[instance].UpdateAnnotation();
|
||||||
|
|
Loading…
Reference in New Issue