Misc. typos: Please merge right before 0.17 release

I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
This commit is contained in:
luz.paz
2018-03-16 15:45:00 -04:00
committed by wmayer
parent 34fd583b76
commit 46d32d78a3
19 changed files with 25 additions and 26 deletions

View File

@@ -164,7 +164,7 @@ bool TaskDlgFeatureParameters::reject()
// if abort command deleted the object make the previous feature visible again
if (!Gui::Application::Instance->getViewProvider(feature)) {
// Make the tip or the previous feature visiable again with preference to the previous one
// Make the tip or the previous feature visible again with preference to the previous one
// TODO: ViewProvider::onDelete has the same code. May be this one is excess?
if (previous && Gui::Application::Instance->getViewProvider(previous)) {
Gui::Application::Instance->getViewProvider(previous)->show();

View File

@@ -255,13 +255,13 @@ bool TaskDlgSketchBasedParameters::reject()
Sketcher::SketchObject *pcSketch = static_cast<Sketcher::SketchObject*>(pcSketchBased->Profile.getValue());
bool rv;
// rv should be true anyway but to be on the safe side dur to thurver changes better respect it.
// rv should be true anyway but to be on the safe side due to further changes better respect it.
rv = TaskDlgFeatureParameters::reject();
// if abort command deleted the object the sketch is visible again.
// The the previous one feature already should be made visiable
// The previous one feature already should be made visible
if (!Gui::Application::Instance->getViewProvider(pcSketchBased)) {
// Make the sketch visiable
// Make the sketch visible
if (pcSketch && Gui::Application::Instance->getViewProvider(pcSketch))
Gui::Application::Instance->getViewProvider(pcSketch)->show();
}