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@15759 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Apr 18, 2011
1 parent caf52d9 commit 9e244e8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/plugins/grass/qgsgrassplugin.cpp
Original file line number Diff line number Diff line change
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 9e244e8

Please sign in to comment.