Commit 0197ee41 authored by Aleksei Kanash's avatar Aleksei Kanash

Merge branch 'aleksei_kanash_dev' into develop

parents c711c230 026c6c0f
......@@ -628,6 +628,11 @@ bool UBGraphicsScene::inputDeviceRelease()
setDocumentUpdated();
if (mCurrentStroke && mCurrentStroke->polygons().empty()){
delete mCurrentStroke;
}
mCurrentStroke = NULL;
return accepted;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment