PartDesign: bugfix, invoke ui->spinOccurrences->apply().

This commit is contained in:
Eivind Kvedalen 2015-09-28 22:06:08 +02:00 committed by wmayer
parent 9a0c58986f
commit 5dc75b73bf

View File

@ -206,7 +206,7 @@ void TaskScaledParameters::apply()
std::string name = TransformedView->getObject()->getNameInDocument();
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Factor = %f",name.c_str(), getFactor());
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Occurrences = %u",name.c_str(), getOccurrences());
ui->spinOccurrences->apply();
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()");
if (!TransformedView->getObject()->isValid())
throw Base::Exception(TransformedView->getObject()->getStatusString());