irstv/orbisgis — pull request #24 by gourlaysama (2012-07-02 12:26:31+00:00)
Title: Only add the default style if necessary + prevents the list of styles of being reset

This prevents the list of styles of a layer to be reset when open() is called.

Any style added before will still be there, and the default style is only added if the list is empty.

I think the diff is pretty straightforward.

Review by @agueganno, @nicolas-f please :-)