Skip to content
Permalink
Browse files

Fix form annotations not showing in composer

  • Loading branch information
mhugent committed Aug 23, 2013
1 parent d100628 commit a85d362f3b53319b0754eaba02dc37e93dc9f2fe
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsformannotationitem.cpp
@@ -37,6 +37,7 @@ QgsFormAnnotationItem::QgsFormAnnotationItem( QgsMapCanvas* canvas, QgsVectorLay
mHasAssociatedFeature( hasFeature ), mFeature( feature )
{
mWidgetContainer = new QGraphicsProxyWidget( this );
mWidgetContainer->setData( 0, "AnnotationItem" ); //mark embedded widget as belonging to an annotation item (composer knows it needs to be printed)
if ( mVectorLayer && mMapCanvas ) //default to the layers edit form
{
mDesignerForm = mVectorLayer->annotationForm();

0 comments on commit a85d362

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