Bug report #6968
Saving selects wrong tool
|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 #:||16078|
If you save a layer the tool is reverted back to the last used non edit based tool - select, pan, info, etc
- Create a new layer
- Select Zoom Tool
- Enable editing for the layer
- Select Add Feature tool.
- Add new feature
- Click save
After saving the Add Feature tool is no longer selected but instead the Zoom Tool is.
#2 Updated by Larry Shaffer about 10 years ago
I think it is unrelated, but will check to make sure. If it's something I coded for saving edits, then I have an idea on what might be causing it.
Does the same happen when you use any of the Current Edits functions (instead of the single-click Save Layer Edits button)?
#3 Updated by Nathan Woodrow about 10 years ago
Yeah it happens with any saving, rollback functions.
This method might be what is causing it: https://github.com/qgis/Quantum-GIS/blob/master/src/app/qgisapp.cpp#L7291