Commit 21ac264c authored by Ilia Ryabokon's avatar Ilia Ryabokon

Sankore 831 - delete annotations on the scene

parent da8c496f
......@@ -1270,7 +1270,7 @@ void UBGraphicsScene::clearAnnotations()
while (itItems.hasNext())
{
QGraphicsItem* item = itItems.next();
UBGraphicsPolygonItem* pi = qgraphicsitem_cast<UBGraphicsPolygonItem*>(item);
UBGraphicsStrokesGroup* pi = qgraphicsitem_cast<UBGraphicsStrokesGroup*>(item);
if (pi)
{
removeItem(item);
......
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