Close bom file earlier
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17779
(cherry picked from commit 5d7e96841b
)
Co-authored-by: Mark Roszko <mark.roszko@gmail.com>
This commit is contained in:
parent
048448296d
commit
9af12e60d2
|
@ -1296,6 +1296,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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue