Fix unload. String argument used to remove menu must match string used to add it.

git-svn-id: http://svn.osgeo.org/qgis/trunk@9271 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
telwertowski 2008-09-06 18:12:57 +00:00
parent dad407e494
commit 00d8a8cf46
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class MapServerExport:
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

View File

@ -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;
}