Skip to content
Permalink
Browse files

Fix for bug #1738, duplicated objects in composer

git-svn-id: http://svn.osgeo.org/qgis/trunk@10964 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jun 21, 2009
1 parent 0ce4e02 commit aaa5623ec3664e7603734269fe1942fe37f4c66a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgisapp.cpp
@@ -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 ) )

0 comments on commit aaa5623

Please sign in to comment.
You can’t perform that action at this time.