On 03/07/2014 11:27 AM, Jürgen E. Fischer wrote:
> Hi Alex,
> 
> On Fri, 07. Mar 2014 at 10:52:42 -0800, Alex Mandel wrote:
>> Where to find the QGIS.conf file varies by OS and install method.
> 
> This might be better:
> 
> #!/usr/bin/python
> from PyQt4.QtCore import QSettings
> QSettings( "QGIS", "QGIS2" ).remove( "/UI/state" )
> QSettings( "QGIS", "QGIS2" ).remove( "/ComposerUI/state" )
> 
> 
> (for 1.8 it's QGIS instead of QGIS2 IIRC).
> 
> 
> Jürgen 
> 

Seems like adding a tool/plugin/command to reset GUI to defaults should
be easy.

Thanks,
Alex
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to