Skip to content
Browse files

Stop loading a python plugin in plugin manager if an error occurs dur…

…ing import.

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 13, 2007
1 parent 63e198c commit d6b460d6a224e12d7559320b065919c02ab88a45
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/app/qgspluginmanager.cpp
@@ -90,8 +90,9 @@ void QgsPluginManager::getPythonPluginDescriptions()
QString packageName = pluginList[i];

// import plugin's package
// import plugin's package - skip loading it if an error occured
if (!QgsPythonUtils::loadPlugin(packageName))

// get information from the plugin
QString pluginName = QgsPythonUtils::getPluginMetadata(packageName, "name");

0 comments on commit d6b460d

Please sign in to comment.
You can’t perform that action at this time.