0000697: Text boxes to set dimension constraints insert a space between thousands and hundreds digits that makes the data invalid.
This commit is contained in:
parent
4b1c918f2d
commit
2ded296857
|
@ -103,7 +103,7 @@ void EditDatumDialog::exec(bool atCursor)
|
|||
|
||||
if (dlg.exec()) {
|
||||
bool ok;
|
||||
double newDatum = ui_ins_datum.lineEdit->text().toDouble(&ok);
|
||||
double newDatum = QLocale::system().toDouble(ui_ins_datum.lineEdit->text(), &ok);
|
||||
if (ok) {
|
||||
if (Constr->Type == Sketcher::Angle)
|
||||
newDatum = Base::toRadians<double>(newDatum);
|
||||
|
|
Loading…
Reference in New Issue
Block a user