Skip to content

Commit

Permalink
Add an update of overview on centering mode switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Jun 25, 2013
1 parent 5c4f2ed commit 00041e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/composer/qgscomposermapwidget.cpp
Expand Up @@ -600,6 +600,10 @@ void QgsComposerMapWidget::on_mOverviewCenterCheckbox_toggled( bool state )
{
mComposerMap->setOverviewCentered( state );
}
mComposerMap->beginCommand( tr( "Overview centering mode changed" ) );
mComposerMap->cache();
mComposerMap->update();
mComposerMap->endCommand();
}

void QgsComposerMapWidget::on_mGridCheckBox_toggled( bool state )
Expand Down

0 comments on commit 00041e6

Please sign in to comment.