diff -r 23b47902d857 -r aab8e139a149 src/layers/edittools.cpp --- a/src/layers/edittools.cpp Sat Jul 02 19:03:57 2022 +0300 +++ b/src/layers/edittools.cpp Sat Jul 02 19:05:05 2022 +0300 @@ -401,11 +401,11 @@ } break; case CircleMode: - if (event->button() == Qt::LeftButton and this->worldPosition.has_value()) { + if (event->button() == Qt::LeftButton) { if (this->polygon.size() == 3) { this->closeShape(); } - else { + else if (this->worldPosition.has_value()) { this->polygon.push_back(*this->worldPosition); } }