diff --git a/src/app/qgspluginregistry.cpp b/src/app/qgspluginregistry.cpp index 1495cbf047e8..f6ce5d8d1032 100644 --- a/src/app/qgspluginregistry.cpp +++ b/src/app/qgspluginregistry.cpp @@ -344,6 +344,16 @@ void QgsPluginRegistry::restoreSessionPlugins( QString thePluginDirString ) QStringList pluginList = mPythonUtils->pluginList(); QgsDebugMsg( "Loading python plugins" ); + // make the plugin installer and the fTools enabled by default: + if ( !mySettings.contains( "/PythonPlugins/plugin_installer" ) ) + { + mySettings.setValue( "/PythonPlugins/plugin_installer", true ); + } + if ( !mySettings.contains( "/PythonPlugins/fTools" ) ) + { + mySettings.setValue( "/PythonPlugins/fTools", true ); + } + for ( int i = 0; i < pluginList.size(); i++ ) { QString packageName = pluginList[i];