mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Merge pull request #35955 from alexbruy/rastercalc-ok
[rastercalc] enable Ok button only when expression and output are set (fix #30420)
This commit is contained in:
commit
46dea07df3
@ -81,6 +81,8 @@ QgsRasterCalcDialog::QgsRasterCalcDialog( QgsRasterLayer *rasterLayer, QWidget *
|
||||
mCrsSelector->setCrs( rasterLayer->crs() );
|
||||
}
|
||||
|
||||
mButtonBox->button( QDialogButtonBox::Ok )->setEnabled( false );
|
||||
|
||||
//add supported output formats
|
||||
insertAvailableOutputFormats();
|
||||
insertAvailableRasterBands();
|
||||
|
Loading…
x
Reference in New Issue
Block a user