<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>In the "Layer board" plugin, there is a button to save the default style for each selected layers. To do so, I use the method<br><br>layer.saveDefaultStyle()<br><br></div>It seems this method does not work for Postgis layers. I tried manually in the python console, and I confirm it does not achieve to create (or update) the default style in the layer_styles table.<br><br></div>I also try to use the other methods, like <br>layer.saveNamedStyle(layer.styleURI())<br></div>with no more success.<br></div><br>Has anyone a clue about this issue ?<br><br>nb: I tested it only inside QGIS 2.18.13<br><br></div>Regards,<br>MichaĆ«l<br></div>