Skip to content

Commit 24dc23e

Browse files
github-actions[bot]nyalldawson
authored andcommittedMay 15, 2020
[rastercalc] enable Ok button only when expression and output are set (fix #30420)
1 parent bf55fc3 commit 24dc23e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/app/qgsrastercalcdialog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ QgsRasterCalcDialog::QgsRasterCalcDialog( QgsRasterLayer *rasterLayer, QWidget *
8181
mCrsSelector->setCrs( rasterLayer->crs() );
8282
}
8383

84+
mButtonBox->button( QDialogButtonBox::Ok )->setEnabled( false );
85+
8486
//add supported output formats
8587
insertAvailableOutputFormats();
8688
insertAvailableRasterBands();

0 commit comments

Comments
 (0)
Please sign in to comment.