Disable context menu Angle if not enabled seam allowance or enabled built in.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-15 21:20:33 +03:00
parent 419095300e
commit b500650cf1

View File

@ -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
{ {