Skip to content

Commit

Permalink
Fix unload. String argument used to remove menu must match string use…
Browse files Browse the repository at this point in the history
…d to add it.

git-svn-id: http://svn.osgeo.org/qgis/trunk@9271 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Sep 6, 2008
1 parent dad407e commit 00d8a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/mapserver_export/mapserverexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def initGui(self):

def unload(self):
# Remove the plugin menu item and icon
self.iface.removePluginMenu("&Zoom to Point...",self.action)
self.iface.removePluginMenu("&MapServer Export...",self.action)
self.iface.removeToolBarIcon(self.action)

# run method that performs all the real work
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ogr_converter/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void OgrPlugin::unload()
//OGRCleanupAll();

// remove the GUI
mQGisIface->removePluginMenu( "&OGR Layer Converter", mQActionPointer );
mQGisIface->removePluginMenu( "OG&R Converter", mQActionPointer );
mQGisIface->removeToolBarIcon( mQActionPointer );
delete mQActionPointer;
}
Expand Down

0 comments on commit 00d8a8c

Please sign in to comment.