mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
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:
parent
dad407e494
commit
00d8a8cf46
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user