Skip to content

Commit

Permalink
Merge pull request #212 from Samweli/fix_web_menu
Browse files Browse the repository at this point in the history
Remove plugin web menu entry when plugin is uninstalled
  • Loading branch information
Samweli authored Aug 23, 2022
2 parents b99214a + daf16a3 commit 7ea2054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qgis_stac/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def unload(self):
"""Removes the plugin menu item and icon from QGIS GUI."""
for action in self.actions:
self.iface.removePluginMenu(self.tr(u"&STAC API Browser Plugin"), action)
self.iface.removePluginWebMenu(self.tr(u"&STAC API Browser Plugin"), action)
self.iface.removeToolBarIcon(action)

def run(self):
Expand Down

0 comments on commit 7ea2054

Please sign in to comment.