Skip to content

Commit

Permalink
Emit composer add/remove signals also if composers are added from pro…
Browse files Browse the repository at this point in the history
…ject file

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12872 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Feb 4, 2010
1 parent d2da7ed commit 1c748cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3810,6 +3810,7 @@ bool QgisApp::loadComposersFromProject( const QString& projectFilePath )
{
composer->close();
}
emit composerAdded( composer->view() );
}
return true;
}
Expand All @@ -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();
Expand Down

0 comments on commit 1c748cc

Please sign in to comment.