Items deselected before deleting from scene. (Fix for Sankore-972).

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent 64bce6a14b
commit c3fde72746
  1. 1
      src/domain/UBGraphicsScene.cpp

@ -2351,6 +2351,7 @@ void UBGraphicsScene::keyReleaseEvent(QKeyEvent * keyEvent)
default: default:
{ {
item->setSelected(false);
UBGraphicsItem *ubgi = dynamic_cast<UBGraphicsItem*>(item); UBGraphicsItem *ubgi = dynamic_cast<UBGraphicsItem*>(item);
if (0 != ubgi) if (0 != ubgi)
ubgi->remove(); ubgi->remove();

Loading…
Cancel
Save