From 7272b49a56c0c61bfb0a215c68347c36c3decd10 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Sat, 20 Apr 2013 11:37:21 +0200 Subject: [PATCH] another mFrame fix --- src/domain/UBGraphicsItemDelegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;