Eeschema: toggle locale when pasting to prevent parsing errors.

This commit is contained in:
Wayne Stambaugh 2020-05-20 08:08:38 -04:00
parent c4142a5842
commit 480588866c
1 changed files with 1 additions and 0 deletions

View File

@ -576,6 +576,7 @@ void SCH_SEXPR_PLUGIN::LoadContent( LINE_READER& aReader, SCH_SHEET* aSheet, int
{
wxCHECK( aSheet, /* void */ );
LOCALE_IO toggle;
SCH_SEXPR_PARSER parser( &aReader );
parser.ParseSchematic( aSheet, true, aFileVersion );