Skip to content

Commit 70dc5a6

Browse files
committed
[composer] Fix crash when removing item group
1 parent c2d5400 commit 70dc5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/composer/qgscomposition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,8 +1756,8 @@ void QgsComposition::removeComposerItem( QgsComposerItem* item, bool createComma
17561756
}
17571757

17581758
undoStack()->push( parentCommand );
1759-
delete itemGroup;
17601759
emit itemRemoved( itemGroup );
1760+
delete itemGroup;
17611761
}
17621762
else
17631763
{

0 commit comments

Comments
 (0)