Skip to content

Commit

Permalink
Refs #4472 make warning log level orange in MantidPlot
Browse files Browse the repository at this point in the history
They used to show up black due to logic error.
  • Loading branch information
Janik Zikovsky committed Feb 13, 2012
1 parent b3b265e commit 6a441b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1783,8 +1783,8 @@ void MantidUI::logMessage(const Poco::Message& msg)
}
if (msg.getPriority() < Poco::Message::PRIO_ERROR)
appWindow()->results->setTextColor(Qt::red);
else if (msg.getPriority() < Poco::Message::PRIO_WARNING)
appWindow()->results->setTextColor(Qt::darkRed);
else if (msg.getPriority() <= Poco::Message::PRIO_WARNING)
appWindow()->results->setTextColor(QColor::fromRgb(255, 100, 0)); // Orange
else if (msg.getPriority() > Poco::Message::PRIO_INFORMATION)
appWindow()->results->setTextColor(Qt::gray);
else if (msg.getPriority() == Poco::Message::PRIO_NOTICE)
Expand Down

0 comments on commit 6a441b9

Please sign in to comment.