mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
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
This commit is contained in:
parent
b1c0642550
commit
1f86639ff8
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user