Bug report #11413
Text Edit Widget no longer appear inactive in feature forms when layer or field is not editable
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19691|
In master (fbc5f06) text edit field widgets no longer appear inactive in the feature forms when the layer is not in editable mode or when the editable check box is turned off in the fields properties.
The values are still not possible to edit, but the text edit is not grayed.
This worked well in 2.4, and all other widgets seems to work as expected in master. That is, if the fields are not editable then the widgets are grayed.
[editwidgets] text color for r/o line edits matches disabled color
Line edits are set to readonly to make it possible to copy values from disabled
forms. Unfortunately Qt uses a style that makes them look editable even though
they are not. This patches the text color to have the appearance that hints an