Skip to content
Permalink
Browse files
Fix for bug #1985: Canceling new project remove layers
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 0729c446820bd6745f11045a82e533105e55cb23
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/app/qgisapp.cpp
@@ -3084,10 +3084,7 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
{
if ( !saveDirty() )
{
mMapCanvas->freeze( true );
removeAllLayers();
mMapCanvas->freeze( false );
return;
return; //cancel pressed
}
}

0 comments on commit 0729c44

Please sign in to comment.