Skip to content

Commit

Permalink
GRASS region another bug fix
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15759 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Apr 18, 2011
1 parent 7164676 commit be647d0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -589,6 +589,7 @@ void QgsGrassPlugin::displayRegion()
// QgsDebugMsg("entered.");

mRegionBand->reset();
if ( !mRegionAction->isChecked() ) { return; }

// Display region of current mapset if in active mode
if ( !QgsGrass::activeMode() ) return;
Expand Down Expand Up @@ -641,10 +642,7 @@ void QgsGrassPlugin::redrawRegion()
{
// QgsDebugMsg("entered.");

if ( mRegionAction->isChecked() )
{
displayRegion();
}
displayRegion();
}

void QgsGrassPlugin::changeRegion( void )
Expand Down

0 comments on commit be647d0

Please sign in to comment.