Hi All,

I have tried to update the Selection color in the project Properties.

prj = QgsProject.instance()
prj.writeEntry( "Gui", "/SelectionColorRedPart", 255 )
prj.writeEntry( "Gui", "/SelectionColorGreenPart", 255 )
prj.writeEntry( "Gui", "/SelectionColorAlphaPart", 255 )
prj.writeEntry( "Gui", "/SelectionColorBluePart", 0 )

By executing the above code in QGIS 2.0 Dufour, it works fine. But in QGIS
2.6 Brighton the same is not working. Kindly help me to resolve the issue.

Thanks and Regards,
Mohanakarthick



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Updating-Project-Properties-tp5180297.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to