Re-enable non-KiCad board import when non-standalone
Partial revert of ec2cd99405
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16978
This commit is contained in:
parent
944a3d7962
commit
4ec390838b
|
@ -278,10 +278,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 = KICTL_NONKICAD_ONLY;
|
||||
wxString fileName; // = Prj().AbsolutePath( GetBoard()->GetFileName() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue