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.
  • Loading branch information
nyalldawson committed Nov 1, 2018
1 parent e83aa5a commit 484895e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
Original file line number Diff line number Diff line change
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 484895e

Please sign in to comment.