From 0f0b3452ac7e47eb567fb69fef5d8c896fb73fcc Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 16 Mar 2026 20:17:36 -0400 Subject: [PATCH] Use locale toggle in ODB++ dialog Fixes https://gitlab.com/kicad/code/kicad/-/work_items/23447 --- pcbnew/dialogs/dialog_export_odbpp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/dialogs/dialog_export_odbpp.cpp b/pcbnew/dialogs/dialog_export_odbpp.cpp index 21a9c8a119..a522ffb144 100644 --- a/pcbnew/dialogs/dialog_export_odbpp.cpp +++ b/pcbnew/dialogs/dialog_export_odbpp.cpp @@ -51,6 +51,7 @@ #include #include #include +#include @@ -260,6 +261,8 @@ void DIALOG_EXPORT_ODBPP::GenerateODBPPFiles( const JOB_EXPORT_PCB_ODB& aJob, BO PCB_EDIT_FRAME* aParentFrame, PROGRESS_REPORTER* aProgressReporter, REPORTER* aReporter ) { + LOCALE_IO toggle; + wxCHECK( aBoard, /* void */ ); wxString outputPath = aJob.GetFullOutputPath( aBoard->GetProject() );