Skip to content

Commit e96e147

Browse files
author
borysiasty
committedMar 21, 2009
make the plugin installer and the fTools enabled by default
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10369 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e2e3815 commit e96e147

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎src/app/qgspluginregistry.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,16 @@ void QgsPluginRegistry::restoreSessionPlugins( QString thePluginDirString )
344344
QStringList pluginList = mPythonUtils->pluginList();
345345
QgsDebugMsg( "Loading python plugins" );
346346

347+
// make the plugin installer and the fTools enabled by default:
348+
if ( !mySettings.contains( "/PythonPlugins/plugin_installer" ) )
349+
{
350+
mySettings.setValue( "/PythonPlugins/plugin_installer", true );
351+
}
352+
if ( !mySettings.contains( "/PythonPlugins/fTools" ) )
353+
{
354+
mySettings.setValue( "/PythonPlugins/fTools", true );
355+
}
356+
347357
for ( int i = 0; i < pluginList.size(); i++ )
348358
{
349359
QString packageName = pluginList[i];

0 commit comments

Comments
 (0)
Please sign in to comment.