Bug report #4635

Attribute table edit button: only changes to columns are refreshed when Discarding changes

Added by Alister Hood almost 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:14536

Description

(N.B. I thought a bug like this was reported a long time ago, but I can't find it).

- Open an attribute table
- Click the edit button
- Add or delete a column
- Click the edit button, and then click to Discard changes.
The attribute table will be refreshed as it should be (i.e. the column will disappear or reappear again).

- Open an attribute table
- Click the edit button
- Add or delete a feature, or change one of its attributes
- Click the edit button, and then click to Discard changes.
The attribute table will not be refreshed as it should be. To refresh it you need to close and reopen it.

Associated revisions

Revision 04a28242
Added by Jürgen Fischer over 7 years ago

execute undo stack on rollBack() (fixes #4635)

Revision 4ba2c39a
Added by Jürgen Fischer over 7 years ago

execute undo stack on rollBack() (fixes #4635)

History

#1 Updated by Giovanni Manghi almost 8 years ago

  • Target version set to Version 1.7.4

#2 Updated by Jürgen Fischer over 7 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to master
  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF