do not use doCommand without using format string, add overloaded method of runCommand
This commit is contained in:
@@ -189,7 +189,7 @@ const QString TaskFemConstraint::makeRefText(const App::DocumentObject* obj, con
|
||||
void TaskDlgFemConstraint::open()
|
||||
{
|
||||
ConstraintView->setVisible(true);
|
||||
Gui::Command::doCommand(Gui::Command::Doc,ViewProviderFemConstraint::gethideMeshShowPartStr((static_cast<Fem::Constraint*>(ConstraintView->getObject()))->getNameInDocument()).c_str()); //OvG: Hide meshes and show parts
|
||||
Gui::Command::runCommand(Gui::Command::Doc,ViewProviderFemConstraint::gethideMeshShowPartStr((static_cast<Fem::Constraint*>(ConstraintView->getObject()))->getNameInDocument()).c_str()); //OvG: Hide meshes and show parts
|
||||
}
|
||||
|
||||
bool TaskDlgFemConstraint::accept()
|
||||
|
||||
Reference in New Issue
Block a user