add missing word, fix layout
This commit is contained in:
parent
b4bf37e9c5
commit
a90014c646
|
@ -1861,13 +1861,13 @@ void CmdSketcherConstrainCoincident::activated(int iMsg)
|
||||||
bool constraintMode = hGrp->GetBool("ContinuousConstraintMode", false);
|
bool constraintMode = hGrp->GetBool("ContinuousConstraintMode", false);
|
||||||
|
|
||||||
if (constraintMode) {
|
if (constraintMode) {
|
||||||
ActivateHandler(getActiveGuiDocument(),
|
ActivateHandler(getActiveGuiDocument(),
|
||||||
new DrawSketchHandlerGenConstraint(constraintCursor, this));
|
new DrawSketchHandlerGenConstraint(constraintCursor, this));
|
||||||
getSelection().clearSelection();
|
getSelection().clearSelection();
|
||||||
} else {
|
} else {
|
||||||
// TODO: Get the exact message from git history and put it here
|
// TODO: Get the exact message from git history and put it here
|
||||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user