PD: PrefQuantitySpinBox now requires an explicit entry name for the parameter group

This commit is contained in:
wmayer
2022-01-31 16:47:08 +01:00
parent 6509c9ddec
commit 62734ca415
4 changed files with 8 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ void EditDatumDialog::exec(bool atCursor)
}
double datum = Constr->getValue();
ui_ins_datum->labelEdit->setEntryName(QByteArray("DatumValue"));
if (Constr->Type == Sketcher::Angle) {
datum = Base::toDegrees<double>(datum);
dlg.setWindowTitle(tr("Insert angle"));