add missing word, fix layout

This commit is contained in:
wmayer 2017-02-24 16:24:24 +01:00
parent b4bf37e9c5
commit a90014c646

View File

@ -1861,13 +1861,13 @@ void CmdSketcherConstrainCoincident::activated(int iMsg)
bool constraintMode = hGrp->GetBool("ContinuousConstraintMode", false);
if (constraintMode) {
ActivateHandler(getActiveGuiDocument(),
ActivateHandler(getActiveGuiDocument(),
new DrawSketchHandlerGenConstraint(constraintCursor, this));
getSelection().clearSelection();
getSelection().clearSelection();
} else {
// TODO: Get the exact message from git history and put it here
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
QObject::tr("Select two or more from the sketch."));
QObject::tr("Select two or more points from the sketch."));
}
return;
}