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()) while (itItems.hasNext())
{ {
QGraphicsItem* item = itItems.next(); QGraphicsItem* item = itItems.next();
UBGraphicsPolygonItem* pi = qgraphicsitem_cast<UBGraphicsPolygonItem*>(item); UBGraphicsStrokesGroup* pi = qgraphicsitem_cast<UBGraphicsStrokesGroup*>(item);
if (pi) if (pi)
{ {
removeItem(item); removeItem(item);

Loading…
Cancel
Save