Bug report #12197

cannot delete old visibility preset

Added by Denis Rouzaud over 9 years ago. Updated about 9 years ago.

Assignee:Martin Dobias
Category:Map Legend
Affected QGIS version:2.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20386


I have some old presets I can't delete in a project.
When I select one, it is not ticked as current, hence I cannot delete it.

Associated revisions

Revision 5eba5755
Added by Martin Dobias about 9 years ago

Fix #12197 - cannot delete old visibility preset

When a preset gets applied, we try to fix it by removing irelevant stuff
(e.g. legend items that do not exist anymore, styles that do not exist).
This is however slightly complicated and leaves room for problems.

Let's simply fix the presets by assigning them the current state after
being applied - and get rid of all the patching...


#1 Updated by Martin Dobias about 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF