Skip to content

Commit be647d0

Browse files
author
rblazek
committedApr 18, 2011
GRASS region another bug fix
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15759 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎src/plugins/grass/qgsgrassplugin.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ void QgsGrassPlugin::displayRegion()
589589
// QgsDebugMsg("entered.");
590590

591591
mRegionBand->reset();
592+
if ( !mRegionAction->isChecked() ) { return; }
592593

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

644-
if ( mRegionAction->isChecked() )
645-
{
646-
displayRegion();
647-
}
645+
displayRegion();
648646
}
649647

650648
void QgsGrassPlugin::changeRegion( void )

0 commit comments

Comments
 (0)
Please sign in to comment.