[Qgis-developer] My God: plugin palette disappeared :(

Alex Mandel tech_dev at wildintellect.com
Fri Mar 7 12:20:54 PST 2014


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


More information about the Qgis-developer mailing list