This patch is to fix a bug with keeping tags when overwriting presets
saving a new copy of a brush doesn't keep a tag
bugs.kde.org/show_bug.cgi?id=387180
Brush editor regressions
phabricators.kde.org/T4536
This patch is to fix a bug with keeping tags when overwriting presets
saving a new copy of a brush doesn't keep a tag
bugs.kde.org/show_bug.cgi?id=387180
Brush editor regressions
phabricators.kde.org/T4536
The existing bug could be found doing these steps:
Since this situation is overwriting an existing preset, it should keep its tags. This patch should make sure that tags are preserved when overwriting an existing preset.
Lint Skipped |
Unit Tests Skipped |
Code wise this seems good to me, and it does indeed work.
But... weirdly enough, when rightclicking the new preset doesn't give the option to remove it from the copied tags. I suspect that this might be a different bug alltogether, so I'd still push it.