From 1f86639ff8d794359775fa432b73a1ede2076797 Mon Sep 17 00:00:00 2001 From: borysiasty Date: Sat, 21 Mar 2009 17:14:22 +0000 Subject: [PATCH] make the plugin installer and the fTools enabled by default git-svn-id: http://svn.osgeo.org/qgis/trunk@10369 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgspluginregistry.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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];