More worksheet -> drawing sheet cleanup.

Fixes https://gitlab.com/kicad/code/kicad/issues/8516
This commit is contained in:
Jeff Young
2021-05-31 12:26:44 +01:00
parent 0598c82972
commit c4cabb38d5
60 changed files with 234 additions and 242 deletions
+2 -3
View File
@@ -736,15 +736,14 @@ void BM2CMP_FRAME::OnExportLogo()
path = ::wxGetCwd();
wxFileDialog fileDlg( this, _( "Create Logo File" ), path, wxEmptyString,
PageLayoutDescrFileWildcard(),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT );
DrawingSheetFileWildcard(), wxFD_SAVE | wxFD_OVERWRITE_PROMPT );
int diag = fileDlg.ShowModal();
if( diag != wxID_OK )
return;
fn = fileDlg.GetPath();
fn.SetExt( PageLayoutDescrFileExtension );
fn.SetExt( DrawingSheetFileExtension );
m_ConvertedFileName = fn.GetFullPath();
FILE* outfile;