diff --git a/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp
index a21408d52..553633394 100644
--- a/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp
+++ b/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp
@@ -137,7 +137,7 @@ void DialogSeamAllowance::EnableApply(bool enable)
applyAllowed = enable;
ui->tabSeamAllowance->setEnabled(applyAllowed);
ui->tabInternalPaths->setEnabled(applyAllowed);
- ui->tabPatternPieceData->setEnabled(applyAllowed);
+ ui->tabPieceLabelData->setEnabled(applyAllowed);
ui->tabGrainline->setEnabled(applyAllowed);
ui->tabPins->setEnabled(applyAllowed);
}
@@ -920,7 +920,7 @@ void DialogSeamAllowance::TabChanged(int index)
{
if (index == ui->tabWidget->indexOf(ui->tabPins)
|| index == ui->tabWidget->indexOf(ui->tabGrainline)
- || index == ui->tabWidget->indexOf(ui->tabPatternPieceData))
+ || index == ui->tabWidget->indexOf(ui->tabPieceLabelData))
{
if (m_visPins.isNull())
{
@@ -1326,7 +1326,7 @@ void DialogSeamAllowance::DetailPinPointChanged()
if (flagPPin)
{
- ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPatternPieceData), QIcon());
+ ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPieceLabelData), QIcon());
}
}
else
@@ -1335,7 +1335,7 @@ void DialogSeamAllowance::DetailPinPointChanged()
color = errorColor;
QIcon icon(":/icons/win.icon.theme/16x16/status/dialog-warning.png");
- ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPatternPieceData), icon);
+ ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPieceLabelData), icon);
}
ChangeColor(ui->labelDetailLabelTopLeftPin, color);
ChangeColor(ui->labelDetailLabelBottomRightPin, color);
@@ -1356,7 +1356,7 @@ void DialogSeamAllowance::PatternPinPointChanged()
if (flagDPin)
{
- ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPatternPieceData), QIcon());
+ ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPieceLabelData), QIcon());
}
}
else
@@ -1365,7 +1365,7 @@ void DialogSeamAllowance::PatternPinPointChanged()
color = errorColor;
QIcon icon(":/icons/win.icon.theme/16x16/status/dialog-warning.png");
- ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPatternPieceData), icon);
+ ui->tabWidget->setTabIcon(ui->tabWidget->indexOf(ui->tabPieceLabelData), icon);
}
ChangeColor(ui->labelPatternLabelTopLeftPin, color);
ChangeColor(ui->labelPatternLabelBottomRightPin, color);
diff --git a/src/libs/vtools/dialogs/tools/dialogseamallowance.ui b/src/libs/vtools/dialogs/tools/dialogseamallowance.ui
index bee0149c9..7105a1b4b 100644
--- a/src/libs/vtools/dialogs/tools/dialogseamallowance.ui
+++ b/src/libs/vtools/dialogs/tools/dialogseamallowance.ui
@@ -21,7 +21,7 @@
-
- 4
+ 3
@@ -896,9 +896,9 @@
-
+
- Pattern piece data
+ Piece label data
-