Re-enable non-KiCad board import when non-standalone

Partial revert of 37ac2ee0a
This commit is contained in:
Jon Evans 2024-02-15 12:16:16 -05:00
parent 8a3a11e2f8
commit 780df7262b
1 changed files with 1 additions and 4 deletions

View File

@ -328,10 +328,7 @@ bool PCB_EDIT_FRAME::Files_io_from_id( int id )
case ID_IMPORT_NON_KICAD_BOARD:
{
// Only standalone mode can directly load a new document
if( !Kiface().IsSingle() )
return false;
// Note: we explicitly allow this even if not in standalone mode for now, even though it is dangerous.
int open_ctl = 1;
wxString fileName; // = Prj().AbsolutePath( GetBoard()->GetFileName() );