Fixes attribution when closing/opening various projects with different copyright labels.
Purges plugin's _default_copyright when a project is closed.
Estimates whether a layer is added via the plugin and re-render copyright only when such a layer is added or removed.
If a layer which was added via the plugin is selected/unselected (visible/invisible) copyrights are not re-rendered. It is not ideal, a user has to remove the layer completely to remove the layer's copyright as well. But it should solve the problem with the slow GUI mentioned in #132
Fixes attribution when closing/opening various projects with different copyright labels. Purges plugin's
_default_copyright
when a project is closed. Estimates whether a layer is added via the plugin and re-render copyright only when such a layer is added or removed. If a layer which was added via the plugin is selected/unselected (visible/invisible) copyrights are not re-rendered. It is not ideal, a user has to remove the layer completely to remove the layer's copyright as well. But it should solve the problem with the slow GUI mentioned in #132Fix #129 Fix #132 Fix #149