Fix barely readable info cell texts

By simply resetting values, the rendered cell text colors are barely
readable. Setting Pango::WEIGHT_NORMAL instead of resetting seems to fix this
nicely without any negative consequences.

Signed-off-by: Harald Judt <h.judt@gmx.at>
This commit is contained in:
Harald Judt
2021-12-21 14:25:06 +01:00
parent 99c9d393c2
commit 6adac797d3
+1 -1
View File
@@ -133,7 +133,7 @@ namespace {
if (p->is_value_type<AtaStorageStatistic>() && p->get_value<AtaStorageStatistic>().is_header) {
crt->property_weight() = Pango::WEIGHT_BOLD;
} else {
crt->property_weight().reset_value();
crt->property_weight() = Pango::WEIGHT_NORMAL;
}
}
}