Skip to content
Permalink
Browse files

Fix bug in rotate label tool (thanks, Juergen)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14700 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 17, 2010
1 parent e79417d commit a046f0b35e07c51038cea1d74c60724a2de2f100
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptoolrotatelabel.cpp
@@ -142,7 +142,7 @@ void QgsMapToolRotateLabel::canvasReleaseEvent( QMouseEvent * e )
double rotation = mCtrlPressed ? roundTo15Degrees( mCurrentRotation ) : mCurrentRotation;

vlayer->beginEditCommand( tr( "Label rotated" ) );
vlayer->changeAttributeValue( mCurrentLabelPos.featureId, rotationCol, mCurrentRotation, false );
vlayer->changeAttributeValue( mCurrentLabelPos.featureId, rotationCol, rotation, false );
vlayer->endEditCommand();
mCanvas->refresh();
}

0 comments on commit a046f0b

Please sign in to comment.
You can’t perform that action at this time.