+ unlimit the value for occurrences

This commit is contained in:
wmayer 2015-10-04 10:32:58 +02:00
parent 36dd6946a9
commit aa5b388f4a
3 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,7 @@ void TaskLinearPatternParameters::setupUI()
// ---------------------
ui->spinLength->bind(pcLinearPattern->Length);
ui->spinOccurrences->setMaximum(INT_MAX);
ui->spinOccurrences->bind(pcLinearPattern->Occurrences);
ui->comboDirection->setEnabled(true);

View File

@ -128,6 +128,7 @@ void TaskPolarPatternParameters::setupUI()
// ---------------------
ui->polarAngle->bind(pcPolarPattern->Angle);
ui->spinOccurrences->setMaximum(INT_MAX);
ui->spinOccurrences->bind(pcPolarPattern->Occurrences);
ui->comboAxis->setEnabled(true);

View File

@ -113,6 +113,7 @@ void TaskScaledParameters::setupUI()
// ---------------------
ui->spinFactor->bind(pcScaled->Factor);
ui->spinOccurrences->setMaximum(INT_MAX);
ui->spinOccurrences->bind(pcScaled->Occurrences);
ui->spinFactor->setEnabled(true);
ui->spinOccurrences->setEnabled(true);