Bug report #10536
The toggle editing pencil becomes orange without changing values of the layer
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18944|
Toggle editing a layer
Click with the Identify tool on an unique feature so that you get the feature Attributes form
No change has been made in the table but the yellow pencil near the layer name becomes orange. I always thought orange pencil meant that there were changes in the table waiting to be saved. Was i wrong?
Testing on QGIS 20. and 2.2 shows that this behavior has always been in the new API.
But i'm wondering if, as there are two colors, one shouldn't be for layer being edited (with changes) and the other one for layer just toggled editing. Bug or new feature?
#1 Updated by Harrissou Santanna over 6 years ago
Another thing is that when you want to stop the editing mode (without changing values), you get a dialog asking you if you want to save or not your changes (although you made no change). That's confusing. As there is no change, toggling out editing mode should just close "editing mode" without question. This was the behavior in QGIS<2.0.