diff --git a/src/libs/vlayout/vtextmanager.cpp b/src/libs/vlayout/vtextmanager.cpp index 89695a8e2..5c5ebef24 100644 --- a/src/libs/vlayout/vtextmanager.cpp +++ b/src/libs/vlayout/vtextmanager.cpp @@ -254,7 +254,7 @@ void VTextManager::Update(const QString& qsName, const VPatternPieceData& data) for (int i = 0; i < data.GetMCPCount(); ++i) { MaterialCutPlacement mcp = data.GetMCP(i); - if (mcp.m_iCutNumber > 0) + if (mcp.m_iCutNumber > 0)//Not gonna happen because min value is 1 now, but decided to left { QString qsMat; if (mcp.m_eMaterial == MaterialType::mtUserDefined) diff --git a/src/libs/vtools/dialogs/tools/dialogdetail.ui b/src/libs/vtools/dialogs/tools/dialogdetail.ui index ea9d9a4b2..8ab7b8a79 100644 --- a/src/libs/vtools/dialogs/tools/dialogdetail.ui +++ b/src/libs/vtools/dialogs/tools/dialogdetail.ui @@ -305,8 +305,7 @@ - - + .. @@ -320,8 +319,7 @@ - - + .. @@ -431,6 +429,9 @@ + + 1 + 1000