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:
{
item->setSelected(false);
UBGraphicsItem *ubgi = dynamic_cast<UBGraphicsItem*>(item);
if (0 != ubgi)
ubgi->remove();

Loading…
Cancel
Save