Skip to content

Commit cc81358

Browse files
author
mhugent
committed
Fix for bug #1738, duplicated objects in composer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10964 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b81773c commit cc81358

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/qgisapp.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -3341,6 +3341,10 @@ bool QgisApp::addProject( QString projectFile )
33413341
// clear the map canvas
33423342
removeAllLayers();
33433343

3344+
//clear the composer
3345+
delete mComposer;
3346+
mComposer = new QgsComposer(this);
3347+
33443348
try
33453349
{
33463350
if ( QgsProject::instance()->read( projectFile ) )

0 commit comments

Comments
 (0)