Make call to DXF importer not possible if a footprint does not exist, also in GAL mode.

This commit is contained in:
jean-pierre charras 2015-09-13 18:44:07 +02:00
parent 8193a898f3
commit 00cffb080e
1 changed files with 3 additions and 0 deletions

View File

@ -430,6 +430,9 @@ int DRAWING_TOOL::DrawKeepout( const TOOL_EVENT& aEvent )
int DRAWING_TOOL::PlaceDXF( const TOOL_EVENT& aEvent )
{
if( m_editModules && !m_board->m_Modules )
return 0;
DIALOG_DXF_IMPORT dlg( m_frame );
int dlgResult = dlg.ShowModal();