Skip to content
Permalink
Browse files

[composer] Prevent crash when loading project which contains no Grid …

…elements (refs #10905)
  • Loading branch information
nyalldawson committed Jul 19, 2014
1 parent 2d427a4 commit 111d7d3da04b01930b6ef3b44ddbc50a184cc810
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/composer/qgscomposermap.cpp
@@ -115,6 +115,7 @@ QgsComposerMap::QgsComposerMap( QgsComposition *composition )
mOverviewFrameMapSymbol = 0;
mGridLineSymbol = 0;
createDefaultOverviewFrameSymbol();
createDefaultGridLineSymbol();

//Offset
mXOffset = 0.0;

0 comments on commit 111d7d3

Please sign in to comment.