Skip to content
Permalink
Browse files
[raster calc] cancelling the process should cancel the process
  • Loading branch information
nirvn committed Feb 8, 2018
1 parent fb53ebf commit 605bb75
Showing 1 changed file with 1 addition and 1 deletion.
@@ -5331,7 +5331,7 @@ void QgisApp::showRasterCalculator()
p.setMaximum( 100.0 );
QgsFeedback feedback;
connect( &feedback, &QgsFeedback::progressChanged, &p, &QProgressDialog::setValue );
connect( &feedback, &QgsFeedback::canceled, &p, &QProgressDialog::cancel );
connect( &p, &QProgressDialog::canceled, &feedback, &QgsFeedback::cancel );
QgsRasterCalculator::Result res = static_cast< QgsRasterCalculator::Result >( rc.processCalculation( &feedback ) );
switch ( res )
{

0 comments on commit 605bb75

Please sign in to comment.