Skip to content

Commit c0719fe

Browse files
author
mhugent
committed
Fix for ticket #2354
git-svn-id: http://svn.osgeo.org/qgis/trunk@12743 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2f7197c commit c0719fe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/qgisapp.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,8 +2704,6 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
27042704
return;
27052705
}
27062706

2707-
deletePrintComposers();
2708-
27092707
if ( thePromptToSaveFlag )
27102708
{
27112709
if ( !saveDirty() )
@@ -2714,7 +2712,7 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
27142712
}
27152713
}
27162714

2717-
//QgsDebugMsg("erasing project");
2715+
deletePrintComposers();
27182716

27192717
mMapCanvas->freeze( true );
27202718
removeAllLayers();

0 commit comments

Comments
 (0)