Skip to content

Commit 605bb75

Browse files
committed
[raster calc] cancelling the process should cancel the process
1 parent fb53ebf commit 605bb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5331,7 +5331,7 @@ void QgisApp::showRasterCalculator()
53315331
p.setMaximum( 100.0 );
53325332
QgsFeedback feedback;
53335333
connect( &feedback, &QgsFeedback::progressChanged, &p, &QProgressDialog::setValue );
5334-
connect( &feedback, &QgsFeedback::canceled, &p, &QProgressDialog::cancel );
5334+
connect( &p, &QProgressDialog::canceled, &feedback, &QgsFeedback::cancel );
53355335
QgsRasterCalculator::Result res = static_cast< QgsRasterCalculator::Result >( rc.processCalculation( &feedback ) );
53365336
switch ( res )
53375337
{

0 commit comments

Comments
 (0)