diff -r 6ca6e8c647d4 -r 128efb9d148b src/tools/drawtool.h --- a/src/tools/drawtool.h Mon Jul 19 23:41:52 2021 +0300 +++ b/src/tools/drawtool.h Tue Jul 20 01:22:01 2021 +0300 @@ -11,4 +11,7 @@ QString name() const override; QString toolTip() const override; bool mouseClick(const Canvas::MouseClickInfo& info) override; + void reset() override; +private: + std::vector polygon; };