Close bom file earlier

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17779
This commit is contained in:
Mark Roszko 2024-04-16 12:39:03 +00:00
parent 66bb49e2da
commit 5d7e96841b
1 changed files with 1 additions and 0 deletions

View File

@ -1297,6 +1297,7 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnExport( wxCommandEvent& aEvent )
return;
}
out.Close(); // close the file before we tell the user it's done with the info modal :workflow meme:
msg.Printf( _( "Wrote BOM output to '%s'" ), outputFile.GetFullPath() );
DisplayInfoMessage( this, msg );
}