Skip to content
Permalink
Browse files
[composer] Don't snap to items within a group
  • Loading branch information
nyalldawson committed Jul 4, 2014
1 parent 55ed628 commit 844a9bbab4d5e99ab2834389e91acd96e214e3de
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/composer/qgscomposermousehandles.cpp
@@ -1269,7 +1269,8 @@ void QgsComposerMouseHandles::collectAlignCoordinates( QMap< double, const QgsCo
{
const QgsComposerItem* currentItem = dynamic_cast<const QgsComposerItem *>( *itemIt );
//don't snap to selected items, since they're the ones that will be snapping to something else
if ( !currentItem || currentItem->selected() )
//also ignore group members - only snap to bounds of group itself
if ( !currentItem || currentItem->selected() || currentItem->isGroupMember() )
{
continue;
}

0 comments on commit 844a9bb

Please sign in to comment.