Gui: fix property view linked property highlight
This commit is contained in:
@@ -552,7 +552,10 @@ QVariant PropertyItem::data(int column, int role) const
|
||||
{
|
||||
// property name
|
||||
if (column == 0) {
|
||||
if (role == Qt::BackgroundRole || role == Qt::ForegroundRole) {
|
||||
if (role == Qt::TextColorRole && linked)
|
||||
return QVariant::fromValue(QColor(0x20,0xaa,0x20));
|
||||
|
||||
if (role == Qt::BackgroundRole || role == Qt::TextColorRole) {
|
||||
if(PropertyView::showAll()
|
||||
&& propertyItems.size() == 1
|
||||
&& propertyItems.front()->testStatus(App::Property::PropDynamic)
|
||||
|
||||
Reference in New Issue
Block a user