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 605bb75876af50653e73287986294a1f97912862
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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.
You can’t perform that action at this time.