diff --git a/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp index 8265dab82..a21408d52 100644 --- a/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp @@ -1288,7 +1288,8 @@ void DialogSeamAllowance::GrainlinePinPointChanged() QColor color = okColor; const quint32 topPinId = getCurrentObjectId(ui->comboBoxGrainlineTopPin); const quint32 bottomPinId = getCurrentObjectId(ui->comboBoxGrainlineBottomPin); - if (topPinId != NULL_ID && bottomPinId != NULL_ID && topPinId != bottomPinId) + if ((topPinId == NULL_ID && bottomPinId == NULL_ID) || + (topPinId != NULL_ID && bottomPinId != NULL_ID && topPinId != bottomPinId)) { flagGPin = true; color = okColor;