mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-07-04 18:18:13 +02:00
Return false if we have less than 3 points
--HG-- branch : feature
This commit is contained in:
parent
3e9793dbbb
commit
d575ad5ad3
|
@ -530,7 +530,7 @@ bool DialogDetail::DetailIsClockwise() const
|
||||||
{
|
{
|
||||||
if(ui.listWidget->count() < 3)
|
if(ui.listWidget->count() < 3)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
VDetail detail;
|
VDetail detail;
|
||||||
for (qint32 i = 0; i < ui.listWidget->count(); ++i)
|
for (qint32 i = 0; i < ui.listWidget->count(); ++i)
|
||||||
|
|
Loading…
Reference in a new issue