Fixed crash on removing fastAccessItems.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent b3c198706f
commit 2a443e618d
  1. 2
      src/domain/UBGraphicsScene.cpp

@ -1386,7 +1386,7 @@ UBGraphicsGroupContainerItem *UBGraphicsScene::createGroup(QList<QGraphicsItem *
} }
foreach (QGraphicsItem *chItem, childItems) { foreach (QGraphicsItem *chItem, childItems) {
groupItem->addToGroup(chItem); groupItem->addToGroup(chItem);
mFastAccessItems.removeAll(item); mFastAccessItems.removeAll(chItem);
} }
} else { } else {
groupItem->addToGroup(item); groupItem->addToGroup(item);

Loading…
Cancel
Save