From 00d8a8cf461d87f0e8d4682229559ae55cface24 Mon Sep 17 00:00:00 2001 From: telwertowski Date: Sat, 6 Sep 2008 18:12:57 +0000 Subject: [PATCH] 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 --- python/plugins/mapserver_export/mapserverexport.py | 2 +- src/plugins/ogr_converter/plugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/plugins/mapserver_export/mapserverexport.py b/python/plugins/mapserver_export/mapserverexport.py index b96e2c60f44..eb7ad62e890 100644 --- a/python/plugins/mapserver_export/mapserverexport.py +++ b/python/plugins/mapserver_export/mapserverexport.py @@ -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 diff --git a/src/plugins/ogr_converter/plugin.cpp b/src/plugins/ogr_converter/plugin.cpp index 474607f9a47..a5933611b0e 100644 --- a/src/plugins/ogr_converter/plugin.cpp +++ b/src/plugins/ogr_converter/plugin.cpp @@ -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; }