Return false if we have less than 3 points

--HG--
branch : feature
This commit is contained in:
Valentina Zhuravska 2015-11-22 16:58:58 +02:00
parent 3e9793dbbb
commit d575ad5ad3

View File

@ -530,7 +530,7 @@ bool DialogDetail::DetailIsClockwise() const
{
if(ui.listWidget->count() < 3)
{
return true;
return false;
}
VDetail detail;
for (qint32 i = 0; i < ui.listWidget->count(); ++i)