Sketcher: Make Command Constraints show the severity of warning for typical user mistakes

This commit is contained in:
Abdullah Tahiri
2023-05-21 17:42:54 +02:00
committed by abdullahtahiriyo
parent c2b2b0c1fa
commit 2338ae633e
2 changed files with 153 additions and 151 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -469,7 +469,7 @@ void ElementView::changeLayer(int layer)
}
}
else {
Gui::TranslatedNotification(sketchobject,
Gui::TranslatedUserWarning(sketchobject,
QObject::tr("Unsupported visual layer operation"),
QObject::tr("It is currently unsupported to move external geometry to another visual layer. External geometry will be omitted"));
}