FEM: remove some trailing whitespaces
This commit is contained in:
parent
fcd2882ad7
commit
187894d8b5
|
@ -485,6 +485,7 @@ void TaskFemConstraintDisplacement::removeFromSelection()
|
||||||
SubElements.erase(SubElements.begin()+itemsToDel.back());
|
SubElements.erase(SubElements.begin()+itemsToDel.back());
|
||||||
itemsToDel.pop_back();
|
itemsToDel.pop_back();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Update UI
|
//Update UI
|
||||||
disconnect(ui->lw_references, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)),
|
disconnect(ui->lw_references, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)),
|
||||||
this, SLOT(setSelection(QListWidgetItem*)));
|
this, SLOT(setSelection(QListWidgetItem*)));
|
||||||
|
@ -633,7 +634,7 @@ bool TaskDlgFemConstraintDisplacement::accept()
|
||||||
name.c_str(), parameterDisplacement->get_rotzfix() ? "True" : "False");
|
name.c_str(), parameterDisplacement->get_rotzfix() ? "True" : "False");
|
||||||
|
|
||||||
std::string scale = parameterDisplacement->getScale(); //OvG: determine modified scale
|
std::string scale = parameterDisplacement->getScale(); //OvG: determine modified scale
|
||||||
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Scale = %s", name.c_str(), scale.c_str()); //OvG: implement modified scale
|
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Scale = %s", name.c_str(), scale.c_str()); //OvG: implement modified scale
|
||||||
}
|
}
|
||||||
catch (const Base::Exception& e) {
|
catch (const Base::Exception& e) {
|
||||||
QMessageBox::warning(parameter, tr("Input error"), QString::fromLatin1(e.what()));
|
QMessageBox::warning(parameter, tr("Input error"), QString::fromLatin1(e.what()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user