mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
fix #2775
git-svn-id: http://svn.osgeo.org/qgis/trunk@13742 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
4cac434965
commit
b6256d025d
@ -15,7 +15,7 @@ def name():
|
||||
return "Plugin Installer"
|
||||
|
||||
def version():
|
||||
return "Version 1.0.10"
|
||||
return "Version 1.0.11"
|
||||
|
||||
def description():
|
||||
return "Downloads and installs QGIS python plugins"
|
||||
|
@ -119,6 +119,9 @@ class InstallerPlugin():
|
||||
# ----------------------------------------- #
|
||||
def unload(self):
|
||||
""" remove the menu item and notify label """
|
||||
# kill pending http requests
|
||||
for key in repositories.all():
|
||||
repositories.killConnection(key)
|
||||
if QGIS_MAJOR_VER: # new plugin API
|
||||
self.iface.pluginMenu().removeAction(self.action)
|
||||
else: # old plugin API
|
||||
|
Loading…
x
Reference in New Issue
Block a user