diff --git a/src/gui/gsc_info_window.cpp b/src/gui/gsc_info_window.cpp
index d3d217b..8530a04 100644
--- a/src/gui/gsc_info_window.cpp
+++ b/src/gui/gsc_info_window.cpp
@@ -2446,8 +2446,9 @@ gboolean GscInfoWindow::test_idle_callback(void* data)
if (!result_main_msg.empty()) { // Highlight in red
std::string alert_color;
// Use the same color as Alert level warnings for consistency
- app_property_get_label_highlight_color(WarningLevel::Alert, alert_color);
- result_main_msg = ""s + result_main_msg + "";
+ if (app_property_get_label_highlight_color(WarningLevel::Alert, alert_color) && !alert_color.empty()) {
+ result_main_msg = ""s + result_main_msg + "";
+ }
}
result_details_msg += "\n"s + _("Check the Self-Test Log for more information.");
break;