Skip to content
Permalink
Browse files

[GRASS] new mapset: re-enable set extent button if canvas extent is v…

…alid
  • Loading branch information
blazek committed Feb 22, 2016
1 parent ed38d5d commit 81a1f6317dda2ac4d42f25c7f82de3b42ffff541
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/plugins/grass/qgsgrassnewmapset.cpp
@@ -572,10 +572,7 @@ void QgsGrassNewMapset::setRegionPage()

QgsRectangle ext = mIface->mapCanvas()->extent();

if ( ext.xMinimum() >= ext.xMaximum() || ext.yMinimum() >= ext.yMaximum() )
{
mCurrentRegionButton->setEnabled( false );
}
mCurrentRegionButton->setEnabled( !ext.isEmpty() );
}

checkRegion();

0 comments on commit 81a1f63

Please sign in to comment.
You can’t perform that action at this time.