Skip to content

Commit 00d8a8c

Browse files
author
telwertowski
committed
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
1 parent dad407e commit 00d8a8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/plugins/mapserver_export/mapserverexport.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def initGui(self):
4848

4949
def unload(self):
5050
# Remove the plugin menu item and icon
51-
self.iface.removePluginMenu("&Zoom to Point...",self.action)
51+
self.iface.removePluginMenu("&MapServer Export...",self.action)
5252
self.iface.removeToolBarIcon(self.action)
5353

5454
# run method that performs all the real work

src/plugins/ogr_converter/plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void OgrPlugin::unload()
9090
//OGRCleanupAll();
9191

9292
// remove the GUI
93-
mQGisIface->removePluginMenu( "&OGR Layer Converter", mQActionPointer );
93+
mQGisIface->removePluginMenu( "OG&R Converter", mQActionPointer );
9494
mQGisIface->removeToolBarIcon( mQActionPointer );
9595
delete mQActionPointer;
9696
}

0 commit comments

Comments
 (0)