QA test: fix a wx assert about Locale when running qa_python tests.
Probably happens only when the system locale uses a comma as fp separator.
This commit is contained in:
parent
04b9b15255
commit
31d2b2df8b
|
@ -98,6 +98,10 @@ SETTINGS_MANAGER* GetSettingsManager()
|
|||
|
||||
PROJECT* GetDefaultProject()
|
||||
{
|
||||
// For some reasons, LoadProject() needs a C locale, so ensure we have the right locale
|
||||
// This is mainly when running QA Python tests
|
||||
LOCALE_IO dummy;
|
||||
|
||||
PROJECT* project = GetSettingsManager()->GetProject( "" );
|
||||
|
||||
if( !project )
|
||||
|
|
Loading…
Reference in New Issue