Skip to content

Commit

Permalink
Fix for ticket #2354
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12743 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 12, 2010
1 parent 2f7197c commit c0719fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/qgisapp.cpp
Expand Up @@ -2704,8 +2704,6 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
return;
}

deletePrintComposers();

if ( thePromptToSaveFlag )
{
if ( !saveDirty() )
Expand All @@ -2714,7 +2712,7 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
}
}

//QgsDebugMsg("erasing project");
deletePrintComposers();

mMapCanvas->freeze( true );
removeAllLayers();
Expand Down

0 comments on commit c0719fe

Please sign in to comment.