Bug report #79
Digitizing mode not changed when switching layers
|Affected QGIS version:||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10138|
Create a point layer
Digitise some points
Create a line layer
click to start digitizing - attributes dialog immediately pops up - this is because qgis is still in point digitizing mode.
Mode should be changed according to current layer. In addition, I think it would be better if we only showed one digitizing icon at a given time, swapping out the icon from point/ line/ poly / not available modes. It will take up less space on toolbar and elimiate possibiliy of using wrong tool.
#2 Updated by Marco Hugentobler almost 15 years ago
- Resolution set to fixed
- Status changed from Open to Closed
I added a test (in qgsmaptoolcapture) if the tool matches the vector type of the current layer and removed the 'stop editing' in case of current layer changes. This seems to be the simpelst solution to prevent using a wrong capture tool.