-
Agata Cacko authored
Before this commit, importResourceFile would just fail if you tried to use it on a resource file that already exists in the resource folder. This commit adds an option to control the behaviour in such case; if allowOverwrite is true, Krita will: 1. remove all versions of the resource from the resource folder 2. remove all mentions of that resource from the database 3. import the resource file as a new resource.
b90988bd