Do not warn a user about wrong configuration if top and bottom pin points are
not selected. --HG-- branch : feature
This commit is contained in:
parent
af3735ea23
commit
4bec2bb815
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user