Sankore group destructor crash hotfix

preferencesAboutTextFull
Ilia Ryabokon 13 years ago
parent 36fd3243a7
commit 7b3e8d20ee
  1. 6
      src/domain/UBGraphicsItemDelegate.cpp

@ -195,10 +195,10 @@ QVariant UBGraphicsItemDelegate::itemChange(QGraphicsItem::GraphicsItemChange ch
if ((change == QGraphicsItem::ItemSelectedHasChanged
|| change == QGraphicsItem::ItemPositionHasChanged
|| change == QGraphicsItem::ItemTransformHasChanged)
&& mDelegated->scene())
{
&& mDelegated->scene()
&& UBApplication::boardController)
{
mAntiScaleRatio = 1 / (UBApplication::boardController->systemScaleFactor() * UBApplication::boardController->currentZoom());
positionHandles();
}

Loading…
Cancel
Save