[Qgis-developer] iface.addToolBar but no iface.removeToolBar

Richard Duivenvoorde rdmailings at duif.net
Thu Feb 6 12:51:38 PST 2014


Hi devs,

python iface has a method addToolBar, to add a toolbar with buttons.
But there is no way to remove the toolbar.

I've created a toolbar, with proper unload function. So disabling the
plugin removes all from menu's, but I cannot remove the toolbar.
Which would be ok, if not a second one pops up when you enable the
plugin again.

Created an issue for it: http://hub.qgis.org/issues/9504

Would this be a bug or a feature ( :-)

Regards,

Richard Duivenvoorde


More information about the Qgis-developer mailing list