Skip to content
Permalink
Browse files

Emit composer add/remove signals also if composers are added from pro…

…ject file

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12872 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Feb 4, 2010
1 parent d2da7ed commit 1c748ccb4008fe1c1f0d5eae35059719d47c3511
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -3810,6 +3810,7 @@ bool QgisApp::loadComposersFromProject( const QString& projectFilePath )
{
composer->close();
}
emit composerAdded( composer->view() );
}
return true;
}
@@ -3819,6 +3820,7 @@ void QgisApp::deletePrintComposers()
QSet<QgsComposer*>::iterator it = mPrintComposers.begin();
for ( ; it != mPrintComposers.end(); ++it )
{
emit composerWillBeRemoved(( *it )->view() );
delete( *it );
}
mPrintComposers.clear();

0 comments on commit 1c748cc

Please sign in to comment.
You can’t perform that action at this time.