Gray out hidden items regardless of the visibility icon setting

This commit is contained in:
André Althaus
2024-05-30 15:08:45 +02:00
parent 81c6d7401b
commit d24a60f538

View File

@@ -5217,7 +5217,7 @@ void DocumentObjectItem::testStatus(bool resetStatus, QIcon& icon1, QIcon& icon2
previousStatus = currentStatus;
QIcon::Mode mode = QIcon::Normal;
if (isVisibilityIconEnabled() || (currentStatus & Status::Visible)) {
if (currentStatus & Status::Visible) {
// Note: By default the foreground, i.e. text color is invalid
// to make use of the default color of the tree widget's palette.
// If we temporarily set this color to dark and reset to an invalid