We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ed38d5d commit 81a1f63Copy full SHA for 81a1f63
src/plugins/grass/qgsgrassnewmapset.cpp
@@ -572,10 +572,7 @@ void QgsGrassNewMapset::setRegionPage()
572
573
QgsRectangle ext = mIface->mapCanvas()->extent();
574
575
- if ( ext.xMinimum() >= ext.xMaximum() || ext.yMinimum() >= ext.yMaximum() )
576
- {
577
- mCurrentRegionButton->setEnabled( false );
578
- }
+ mCurrentRegionButton->setEnabled( !ext.isEmpty() );
579
}
580
581
checkRegion();
0 commit comments