From ee0be76fb4386ca59b0545f26ef34764546d0fec Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Thu, 25 Apr 2024 09:01:44 -0700 Subject: [PATCH] Don't list IPC-2581 import We don't currently support importing 2581 files. We need to clear IO_FILE_DESC to prevent this from accidentally showing Fixes https://gitlab.com/kicad/code/kicad/-/issues/17866 (cherry picked from commit eeee63186d63c801d7d1f27ff7c5e2a9c20c830a) --- pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.h b/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.h index b0b1242c45..f206ad6009 100644 --- a/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.h +++ b/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.h @@ -86,7 +86,7 @@ public: const IO_BASE::IO_FILE_DESC GetBoardFileDesc() const override { - return IO_BASE::IO_FILE_DESC( _HKI( "IPC-2581 Production File" ), { "xml" } ); + return IO_BASE::IO_FILE_DESC( wxEmptyString, {} ); } const IO_BASE::IO_FILE_DESC GetLibraryDesc() const override