Skip to content

Commit

Permalink
[processing] Fix incorrect html used when pushing console command fee…
Browse files Browse the repository at this point in the history
…dback to dialog

And make color less dominant (not bright blue!). We want other more critical
messages the be more attention grabbing then the noisy console outputs.

(cherry picked from commit 484895e)
  • Loading branch information
nyalldawson committed Nov 1, 2018
1 parent f396ab3 commit daf4c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
Expand Up @@ -383,7 +383,7 @@ void QgsProcessingAlgorithmDialogBase::pushDebugInfo( const QString &message )

void QgsProcessingAlgorithmDialogBase::pushConsoleInfo( const QString &info )
{
txtLog->append( QStringLiteral( "<code><span style=\"color:blue\">%1</darkgray></code>" ).arg( formatStringForLog( info.toHtmlEscaped() ) ) );
txtLog->append( QStringLiteral( "<code style=\"color:#777\">%1</code>" ).arg( formatStringForLog( info.toHtmlEscaped() ) ) );
scrollToBottomOfLog();
processEvents();
}
Expand Down

0 comments on commit daf4c05

Please sign in to comment.