FEM: correct typos
This commit is contained in:
committed by
Chris Hennes
parent
2c40c8291c
commit
4479fd4d2d
@@ -228,8 +228,8 @@ PyObject* FemPostPipelinePy::load(PyObject* args)
|
||||
else {
|
||||
std::string error = std::string(
|
||||
"Multistep load requires 4 arguments: ResultList, ValueList, unit, type");
|
||||
PyErr_SetString(PyExc_ValueError, error.c_str());
|
||||
return nullptr;
|
||||
PyErr_SetString(PyExc_ValueError, error.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
@@ -502,8 +502,8 @@ void PropertyPostDataObject::RestoreDocFile(Base::Reader& reader)
|
||||
if (father && father->isDerivedFrom<App::DocumentObject>()) {
|
||||
App::DocumentObject* obj = static_cast<App::DocumentObject*>(father);
|
||||
Base::Console().Error("Dataset file '%s' with data of '%s' seems to be empty\n",
|
||||
fi.filePath().c_str(),
|
||||
obj->Label.getValue());
|
||||
fi.filePath().c_str(),
|
||||
obj->Label.getValue());
|
||||
}
|
||||
else {
|
||||
Base::Console().Warning("Loaded Dataset file '%s' seems to be empty\n",
|
||||
@@ -518,9 +518,10 @@ void PropertyPostDataObject::RestoreDocFile(Base::Reader& reader)
|
||||
}
|
||||
}
|
||||
else {
|
||||
Base::Console().Error("Dataset file '%s' is of unsupportet type: %s. Data not loaded.\n",
|
||||
fi.filePath().c_str(),
|
||||
extension);
|
||||
Base::Console().Error(
|
||||
"Dataset file '%s' is of unsupported type: %s. Data not loaded.\n",
|
||||
fi.filePath().c_str(),
|
||||
extension);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -316,7 +316,7 @@ void TaskDlgPost::appendBox(TaskPostBox* box)
|
||||
|
||||
void TaskDlgPost::open()
|
||||
{
|
||||
// only open a new command if non is pending (e.g. if the object was nely created)
|
||||
// only open a new command if none is pending (e.g. if the object was newly created)
|
||||
if (!Gui::Command::hasPendingCommand()) {
|
||||
auto text = std::string("Edit ") + m_view->getObject()->Label.getValue();
|
||||
Gui::Command::openCommand(text.c_str());
|
||||
|
||||
Reference in New Issue
Block a user