Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit status wrong in Digitizing toolbar after committing a vector layer from Python #15931

Closed
qgib opened this issue Nov 29, 2012 · 2 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Nov 29, 2012

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 6782
Affected QGIS version: master
Redmine category:digitising


Steps to reproduce:

  1. Put a vector layer in editing mode
  2. do some modifications
  3. save the layer from python with layer.commitChanges()
  4. the script will commit the changes and stop the editing
  5. the editing pencil will disappear from the layer tree (correct)
  6. the digitizing toolbar still shows as editing (incorrect)

After switching to a different layer and then back, the status shows correctly as not in editing.

@qgib
Copy link
Contributor Author

qgib commented Dec 26, 2012

Author Name: Larry Shaffer (Larry Shaffer)


Hi Andreas,

I believe this is fixed with commit 369971a

The checked state of the digitizing toolbar's toggle editing button now responds directly to the @editingStarted/editingStopped@ signals from @QgsVectorLayer@ (if it is the active layer), which are emitted during @commitChanges()@ and @Rollback()@. Please test, thanks.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 23, 2014

Author Name: Jürgen Fischer (@jef-n)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
JamesShaeffer pushed a commit to JamesShaeffer/QGIS that referenced this issue Nov 20, 2019
They should be handled equal to the edit form config.
Fix qgis#15931
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality
Projects
None yet
Development

No branches or pull requests

1 participant