Skip to content
Permalink
Browse files

[composer] Fix undoing item rotation not applying when item originall…

…y had 0 rotation
  • Loading branch information
nyalldawson committed Apr 13, 2014
1 parent 80ab4a2 commit 20bac72234d1f209cc926b832ae48ea60b2a1fd4
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/core/composer/qgscomposeritem.cpp
@@ -232,10 +232,7 @@ bool QgsComposerItem::_readXML( const QDomElement& itemElem, const QDomDocument&
}

//rotation
if ( itemElem.attribute( "itemRotation", "0" ).toDouble() != 0 )
{
setItemRotation( itemElem.attribute( "itemRotation", "0" ).toDouble() );
}
setItemRotation( itemElem.attribute( "itemRotation", "0" ).toDouble() );

//uuid
mUuid = itemElem.attribute( "uuid", QUuid::createUuid().toString() );

0 comments on commit 20bac72

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