mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Report when we don't know what a file is.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18467
This commit is contained in:
parent
72a0c41e3d
commit
8cc9f766d6
@ -589,7 +589,11 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||
pluginType = PCB_IO_MGR::FindPluginTypeFromBoardPath( fullFileName, aCtl );
|
||||
|
||||
if( pluginType == PCB_IO_MGR::FILE_TYPE_NONE )
|
||||
{
|
||||
progressReporter.Hide();
|
||||
DisplayErrorMessage( this, _( "File format is not supported" ), wxEmptyString );
|
||||
return false;
|
||||
}
|
||||
|
||||
bool converted = pluginType != PCB_IO_MGR::LEGACY && pluginType != PCB_IO_MGR::KICAD_SEXP;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user