mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Make sure numeric conversions are not locale dependent
In [19024f72\lyxgit] this line was removed. Later this caused that floats were converted to strings using ','s instead of '.'s. Readding this line fixes this.
This commit is contained in:
parent
d20956594b
commit
9a6c402a82
@ -188,6 +188,7 @@ void setLocale()
|
|||||||
}
|
}
|
||||||
Messages::guiLanguage(fromqstr(theLocale.name()));
|
Messages::guiLanguage(fromqstr(theLocale.name()));
|
||||||
QLocale::setDefault(theLocale);
|
QLocale::setDefault(theLocale);
|
||||||
|
setlocale(LC_NUMERIC, "C");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user