Disable context menu Angle if not enabled seam allowance or enabled built in.
--HG-- branch : develop
This commit is contained in:
parent
419095300e
commit
b500650cf1
|
@ -300,6 +300,8 @@ void VNodePoint::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
|
||||||
|
|
||||||
actionPassmark->setChecked(node.IsPassmark());
|
actionPassmark->setChecked(node.IsPassmark());
|
||||||
actionPassmark->setVisible(node.IsPassmark());
|
actionPassmark->setVisible(node.IsPassmark());
|
||||||
|
|
||||||
|
angleTypeMenu->setEnabled(detail.IsSeamAllowance() && not detail.IsSeamAllowanceBuiltIn());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user