Hi,

I have a toolbar in a plugin too.
I can remove the toolbar using:
del self.toolBar

Cheers,

Denis


On 06 Feb 2014, at 21:51, Richard Duivenvoorde <rdmaili...@duif.net> wrote:

> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to