Skip to content

Commit 8ed2809

Browse files
committed
Merge pull request #740 from RainCT/groupsfix
Fix disabling of groups (#709)
2 parents 5911717 + 5041b78 commit 8ed2809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rviz/properties/property.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Qt::ItemFlags Property::getViewFlags( int column ) const
279279
{
280280
// if the parent propery is a disabled bool property or
281281
// has its own enabled view flag not set, disable this property as well
282-
Qt::ItemFlags enabled_flag = Qt::ItemIsEnabled;//is_read_only_ || ( parent_ && parent_->getDisableChildren() ) ? Qt::NoItemFlags : Qt::ItemIsEnabled;
282+
Qt::ItemFlags enabled_flag = ( parent_ && parent_->getDisableChildren() ) ? Qt::NoItemFlags : Qt::ItemIsEnabled; // || is_read_only_
283283

284284
if( column == 0 )
285285
{

0 commit comments

Comments
 (0)