diff --git a/meshroom/ui/qml/Controls/TextFileViewer.qml b/meshroom/ui/qml/Controls/TextFileViewer.qml index 90d0cbfcfa..5b6947991a 100644 --- a/meshroom/ui/qml/Controls/TextFileViewer.qml +++ b/meshroom/ui/qml/Controls/TextFileViewer.qml @@ -285,8 +285,10 @@ Item { // Color line according to log level if (text.indexOf("[warning]") >= 0) return Colors.orange - else if(text.indexOf("[error]") >= 0) + else if (text.indexOf("[error]") >= 0) return Colors.red + else if (text.indexOf("[fatal]") >= 0 || text.indexOf("[critical]") >= 0) + return Colors.firebrick return palette.text } } diff --git a/meshroom/ui/qml/Utils/Colors.qml b/meshroom/ui/qml/Utils/Colors.qml index af27c91ce5..bff5757b09 100644 --- a/meshroom/ui/qml/Utils/Colors.qml +++ b/meshroom/ui/qml/Utils/Colors.qml @@ -14,6 +14,8 @@ QtObject { readonly property color orange: "#FF9800" readonly property color yellow: "#FFEB3B" readonly property color red: "#F44336" + readonly property color crimson: "#DC143C" + readonly property color firebrick: "#B22222" readonly property color blue: "#03A9F4" readonly property color cyan: "#00BCD4" readonly property color pink: "#E91E63"