Skip to content

Commit

Permalink
When an algorithm can run in the background, show this in the alg dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 9, 2018
1 parent 82057b8 commit 2eb68de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 2eb68de

Please sign in to comment.