Skip to content

Commit 79a524f

Browse files
committedJul 18, 2013
Disable field in attribute table if field is not editable
1 parent b1efd47 commit 79a524f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/gui/attributetable/qgsattributetabledelegate.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ QWidget *QgsAttributeTableDelegate::createEditor(
7474
}
7575
}
7676

77+
w->setEnabled( vl->fieldEditable( fieldIdx ) );
78+
7779
return w;
7880
}
7981

0 commit comments

Comments
 (0)
Please sign in to comment.