Make 1 minimal value of the field "Cut number".
--HG-- branch : develop
This commit is contained in:
parent
7dd88da82d
commit
bf82dc3bb3
|
@ -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)
|
||||
|
|
|
@ -305,8 +305,7 @@
|
|||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="go-down">
|
||||
<normaloff/>
|
||||
</iconset>
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -320,8 +319,7 @@
|
|||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="go-up">
|
||||
<normaloff/>
|
||||
</iconset>
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -431,6 +429,9 @@
|
|||
</item>
|
||||
<item row="1" column="2" colspan="2">
|
||||
<widget class="QSpinBox" name="spinBoxCutNumber">
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>1000</number>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue
Block a user