Skip to content

Commit

Permalink
Fix for bug #1738, duplicated objects in composer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10964 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 21, 2009
1 parent 0ce4e02 commit aaa5623
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -3341,6 +3341,10 @@ bool QgisApp::addProject( QString projectFile )
// clear the map canvas
removeAllLayers();

//clear the composer
delete mComposer;
mComposer = new QgsComposer(this);

try
{
if ( QgsProject::instance()->read( projectFile ) )
Expand Down

0 comments on commit aaa5623

Please sign in to comment.