Bug report #11872
Edit button toggles after copy/paste and deselect on PostGIS layers
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows 64-bit||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20086|
Steps to reproduce:
Open two PostGIS linestring layers in a map document
Select a line feature from one layer
Click the 'Copy Features' button on the Editing toolbar
Turn on editing on the other layer
Paste into the other layer using the 'Paste Features' button on the Editing toolbar
Click the 'Deselect Features from All Layers' button on the Attributes toolbar
Although editing is still active on the layer, the GUI editing button toggles, making it appear as if editing has been turned off and there are no edits to save.
Tested using latest nightly from OSGeo4W. Also occurs in 2.6.1.
[fix #11872] do not call activateLayerRelatedAction after selection change if layer is not current layer