Skip to content
Permalink
Browse files
Fix for bug #1985: Canceling new project remove layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@11769 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 8, 2009
1 parent 0e0fec6 commit d726cb989336189650a9055f86ba4cc9ee5bba82
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 d726cb9

Please sign in to comment.