#79 closed bug (fixed)
Digitizing mode not changed when switching layers
Reported by: | timlinux | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | Build/Install | Version: | Trunk |
Keywords: | digitizing toolbar | Cc: | |
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
Create a point layer Digitise some points Save changes 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.
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → 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.
comment:3 by , 17 years ago
Awaiting user input: | unset |
---|---|
Must Fix for Release: | → No |
Editing is now stopped if the current maplayer changes. We propably also need to deactivate the current editing tool in qgisapp.