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 70d58577607a73271dd6358b1ebc7368dd1621c0
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/composer/qgscomposertable.cpp
@@ -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.
You can’t perform that action at this time.