Navigation Menu

Skip to content

Commit

Permalink
make the plugin installer and the fTools enabled by default
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10369 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Mar 21, 2009
1 parent b1c0642 commit 1f86639
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/qgspluginregistry.cpp
Expand Up @@ -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];
Expand Down

0 comments on commit 1f86639

Please sign in to comment.