Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/gui/qgsmapcanvas.cpp
|
@@ -756,7 +756,7 @@ void QgsMapCanvas::saveAsImage( const QString &fileName, QPixmap *theQPixmap, co |
|
|
{ |
|
|
item = i.previous(); |
|
|
|
|
|
if ( !item || dynamic_cast< QgsMapCanvasAnnotationItem * >( item ) ) |
|
|
if ( !( item && dynamic_cast< QgsMapCanvasAnnotationItem * >( item ) ) ) |
|
|
{ |
|
|
continue; |
|
|
} |
|
|