Fixed DXF placing problem (GAL).
This commit is contained in:
parent
781ac8df9f
commit
cb629e0ad4
|
@ -435,7 +435,7 @@ int DRAWING_TOOL::PlaceDXF( const TOOL_EVENT& aEvent )
|
|||
|
||||
const std::list<BOARD_ITEM*>& list = dlg.GetImportedItems();
|
||||
|
||||
if( dlgResult != wxID_OK || m_board->m_Modules == NULL || list.empty() )
|
||||
if( dlgResult != wxID_OK || list.empty() )
|
||||
return 0;
|
||||
|
||||
VECTOR2I cursorPos = m_controls->GetCursorPosition();
|
||||
|
|
Loading…
Reference in New Issue