Fix typo in new SCH_COMMIT architecture for shape drawing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14976
This commit is contained in:
parent
75e78f9088
commit
8259091ca1
|
@ -1696,7 +1696,7 @@ int SCH_DRAWING_TOOLS::DrawShape( const TOOL_EVENT& aEvent )
|
||||||
}
|
}
|
||||||
|
|
||||||
SCH_COMMIT commit( m_toolMgr );
|
SCH_COMMIT commit( m_toolMgr );
|
||||||
commit.Added( item, m_frame->GetScreen() );
|
commit.Add( item, m_frame->GetScreen() );
|
||||||
commit.Push( wxString::Format( _( "Draw %s" ), item->GetClass() ) );
|
commit.Push( wxString::Format( _( "Draw %s" ), item->GetClass() ) );
|
||||||
|
|
||||||
m_selectionTool->AddItemToSel( item );
|
m_selectionTool->AddItemToSel( item );
|
||||||
|
|
Loading…
Reference in New Issue