Bug report #12197
cannot delete old visibility preset
|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.
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...