diable copy using qgis macro