Sankore 831 - delete annotations on the scene

preferencesAboutTextFull
Ilia Ryabokon 12 years ago
parent da8c496f3e
commit 21ac264c99
  1. 2
      src/domain/UBGraphicsScene.cpp

@ -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);

Loading…
Cancel
Save