[QGIS-Developer] loadLayerDefinition does not respect relative path from qlr file

René-Luc Dhont rldhont at gmail.com
Mon Nov 6 11:50:03 PST 2017


Hi Devs,

I will propose a PR to fix it.

Regards,
René-Luc

Le 06/11/2017 à 17:23, René-Luc Dhont a écrit :
> Hi Devs,
>
> I have found a bug in 2.18 that annoy me a lot:
> * I can't load a layer definition in an existing project because the 
> relative path in the layer definition is interpreted from the project 
> file and not the layer definition file (.qlr)
>
> So the layer definition can only be used in an not already saved project.
>
> Do you know, how to force the absolute path ?
>
> Regards,
>



More information about the QGIS-Developer mailing list