diff --git a/src/domain/UBGraphicsItemDelegate.h b/src/domain/UBGraphicsItemDelegate.h index 616fb89f..b70180b5 100644 --- a/src/domain/UBGraphicsItemDelegate.h +++ b/src/domain/UBGraphicsItemDelegate.h @@ -245,7 +245,7 @@ class UBGraphicsItemDelegate : public QObject void startUndoStep(); void commitUndoStep(); - UBGraphicsDelegateFrame* frame() { return mFrame; } + UBGraphicsDelegateFrame* frame() { if(!mFrame) decorate(); return mFrame; } bool canRotate() const { return mCanRotate; } bool isLocked() const;