Fixed DXF placing problem (GAL).

This commit is contained in:
Maciej Suminski 2015-07-30 13:49:36 +02:00
parent 781ac8df9f
commit cb629e0ad4
1 changed files with 1 additions and 1 deletions

View File

@ -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();