Fix typo.
--HG-- branch : feature
This commit is contained in:
parent
8182f2979b
commit
7f1bab1ac6
|
@ -74,7 +74,7 @@ enum class PieceNodeAngle : unsigned char
|
|||
BySecondEdgeRightAngle
|
||||
};
|
||||
|
||||
enum class PiecePathType : unsigned char {CutomSeamAllowance, InternalPath};
|
||||
enum class PiecePathType : unsigned char {PiecePath = 0, CustomSeamAllowance = 1, InternalPath = 2, Unknown = 3};
|
||||
|
||||
typedef unsigned char ToolVisHolderType;
|
||||
enum class Tool : ToolVisHolderType
|
||||
|
|
|
@ -242,7 +242,7 @@ void DialogPiecePath::NameChanged()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogPiecePath::InitPathTypes()
|
||||
{
|
||||
ui->comboBoxType->addItem(tr("Custom seam allowance"), static_cast<int>(PiecePathType::CutomSeamAllowance));
|
||||
ui->comboBoxType->addItem(tr("Custom seam allowance"), static_cast<int>(PiecePathType::CustomSeamAllowance));
|
||||
//ui->comboBoxType->addItem(tr("Internal path"), static_cast<int>(PiecePathType::InternalPath));
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ bool DialogPiecePath::PathIsValid() const
|
|||
}
|
||||
else
|
||||
{
|
||||
if (GetType() == PiecePathType::CutomSeamAllowance && FirstPointEqualLast(ui->listWidget))
|
||||
if (GetType() == PiecePathType::CustomSeamAllowance && FirstPointEqualLast(ui->listWidget))
|
||||
{
|
||||
url += tr("First point cannot be equal to the last point!");
|
||||
ui->helpLabel->setText(url);
|
||||
|
|
Loading…
Reference in New Issue
Block a user