Browse Source

Update SCH_SCREENs RTree after placing new symbol.

Fixes https://gitlab.com/kicad/code/kicad/issues/8451
6.0.7
Jeff Young 4 years ago
parent
commit
45ba067642
  1. 2
      eeschema/sch_screen.h
  2. 1
      eeschema/tools/sch_drawing_tools.cpp

2
eeschema/sch_screen.h

@ -198,8 +198,6 @@ public:
SCH_ITEM* GetItem( const wxPoint& aPosition, int aAccuracy = 0,
KICAD_T aType = SCH_LOCATE_ANY_T ) const;
void Place( SCH_EDIT_FRAME* frame, wxDC* DC ) { };
/**
* Initialize the #LIB_PART reference for each #SCH_COMPONENT found in this schematic
* from the project #SYMBOL_LIB_TABLE.

1
eeschema/tools/sch_drawing_tools.cpp

@ -281,6 +281,7 @@ int SCH_DRAWING_TOOLS::PlaceSymbol( const TOOL_EVENT& aEvent )
&m_selectionTool->GetSelection() );
m_view->Update( symbol );
m_frame->GetScreen()->Update( symbol );
m_frame->OnModify();
SCH_COMPONENT* nextSymbol = nullptr;

Loading…
Cancel
Save