Skip to content
Permalink
Browse files
[composer] Fix restoration of grid color alpha channel from 2.4 projects
  • Loading branch information
nyalldawson committed Jul 19, 2014
1 parent 5a6f68b commit 70d5857
Showing 1 changed file with 2 additions and 1 deletion.
@@ -313,7 +313,8 @@ bool QgsComposerTable::tableReadXML( const QDomElement& itemElem, const QDomDocu
int gridRed = itemElem.attribute( "gridColorRed", "0" ).toInt();
int gridGreen = itemElem.attribute( "gridColorGreen", "0" ).toInt();
int gridBlue = itemElem.attribute( "gridColorBlue", "0" ).toInt();
mGridColor = QColor( gridRed, gridGreen, gridBlue );
int gridAlpha = itemElem.attribute( "gridColorAlpha", "255" ).toInt();
mGridColor = QColor( gridRed, gridGreen, gridBlue, gridAlpha );
}

//restore column specifications

0 comments on commit 70d5857

Please sign in to comment.