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 New Issue
Block a user