Skip to content
Permalink
Browse files

When an algorithm can run in the background, show this in the alg dialog

  • Loading branch information
nyalldawson committed Jan 9, 2018
1 parent 82057b8 commit 2eb68de614718b57c3987576dff28ef62badcf3b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
@@ -130,6 +130,9 @@ void QgsProcessingAlgorithmDialogBase::setAlgorithm( QgsProcessingAlgorithm *alg
textShortHelp->setHtml( algHelp );
connect( textShortHelp, &QTextBrowser::anchorClicked, this, &QgsProcessingAlgorithmDialogBase::linkClicked );
}

if ( algorithm->flags() & QgsProcessingAlgorithm::FlagCanRunInBackground )
mButtonRun->setText( tr( "Run in Background" ) );
}

QgsProcessingAlgorithm *QgsProcessingAlgorithmDialogBase::algorithm()

0 comments on commit 2eb68de

Please sign in to comment.
You can’t perform that action at this time.