Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show alignment rubber band on top
  • Loading branch information
mhugent committed Jan 18, 2013
1 parent 06374d9 commit 1910621
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/composer/qgscomposeritem.cpp
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 1910621

Please sign in to comment.