Skip to content
Permalink
Browse files
Show alignment rubber band on top
  • Loading branch information
mhugent committed Jan 18, 2013
1 parent 06374d9 commit 1910621f638bc7e40b1f75ec8b1cc3d0f3f0ea40
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/composer/qgscomposeritem.cpp
@@ -1169,6 +1169,7 @@ QGraphicsLineItem* QgsComposerItem::hAlignSnapItem()
mHAlignSnapItem = new QGraphicsLineItem( 0 );
mHAlignSnapItem->setPen( QPen( QColor( Qt::red ) ) );
scene()->addItem( mHAlignSnapItem );
mHAlignSnapItem->setZValue( 90 );
}
return mHAlignSnapItem;
}
@@ -1180,6 +1181,7 @@ QGraphicsLineItem* QgsComposerItem::vAlignSnapItem()
mVAlignSnapItem = new QGraphicsLineItem( 0 );
mVAlignSnapItem->setPen( QPen( QColor( Qt::red ) ) );
scene()->addItem( mVAlignSnapItem );
mVAlignSnapItem->setZValue( 90 );
}
return mVAlignSnapItem;
}

0 comments on commit 1910621

Please sign in to comment.