Skip to content

Commit

Permalink
Fix for bug #1985: Canceling new project remove layers
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11769 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 8, 2009
1 parent be0b4eb commit 0729c44
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/qgisapp.cpp
Expand Up @@ -3084,10 +3084,7 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
{
if ( !saveDirty() )
{
mMapCanvas->freeze( true );
removeAllLayers();
mMapCanvas->freeze( false );
return;
return; //cancel pressed
}
}

Expand Down

0 comments on commit 0729c44

Please sign in to comment.