Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#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 mhugent, 18 years ago

Editing is now stopped if the current maplayer changes. We propably also need to deactivate the current editing tool in qgisapp.

comment:2 by mhugent, 18 years ago

Resolution: fixed
Status: newclosed

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 anonymous, 17 years ago

Awaiting user input: unset
Must Fix for Release: No

comment:4 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.