On Mon, 27 May 2013 01:01:37 -0700 (PDT)
Fidel Pérez <[email protected]> wrote:

> >     data['b'].parent().remove(data['b'])

> And none of them will erase the button.

My bad, sorry, typing untested code into email.  It's

data['b'].parent().removeAction(data['b'])

data['b'].parent() is a QToolBar, although removeAction() is a QWidget method.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to