+ allow to always run macros, fix disappearing grid in sketcher

This commit is contained in:
wmayer
2014-05-13 16:20:51 +02:00
parent 0874bfac75
commit c212e75fcc
3 changed files with 3 additions and 2 deletions

View File

@@ -287,7 +287,7 @@ void TaskPadParameters::onModeChanged(int index)
case 0:
pcPad->Type.setValue("Length");
// Avoid error message
if (ui->lengthEdit->getQuantity() < Precision::Confusion())
if (ui->lengthEdit->getQuantity().getValue() < Precision::Confusion())
ui->lengthEdit->setValue(5.0);
break;
case 1: pcPad->Type.setValue("UpToLast"); break;