Skip to content

Commit 0c77403

Browse files
author
mhugent
committed
Restored refresh view function in composer
git-svn-id: http://svn.osgeo.org/qgis/trunk@9175 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5a27e1b commit 0c77403

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/composer/qgscomposer.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ void QgsComposer::on_mActionZoomOut_activated( void )
291291

292292
void QgsComposer::on_mActionRefreshView_activated( void )
293293
{
294-
/*
295-
mComposition->refresh();
296-
mView->update();
297-
*/
294+
if(mComposition)
295+
{
296+
mComposition->update();
297+
}
298298
}
299299

300300
void QgsComposer::on_mActionPrint_activated( void )

0 commit comments

Comments
 (0)