[PyQt] QUndoCommand.undo() not getting called upon push()
hpj at urpla.net
Thu Oct 15 09:06:51 BST 2009
Am Donnerstag 15 Oktober 2009 schrieb Adeodato Simó:
> I define a couple QUndoCommand classes based on a mixin, where the undo
> command of one is the redo of the other, and vice-versa. See the attached
> Unfortunately this has stopped working with PyQt 4.6. Executing the
> attached file prints "inserting foo", "removing bar" with PyQt <= 4.5,
> but does nothing with 4.6.
> Is this breakage expected? Is my usage not supported? Many thanks in
I guess, this issue is due to monkey patching and/or multiple inheritance.
You may try to verify, that the current sip and PyQt snapshots fix your
problem and call back for confirmation.
New releases ante portas!
More information about the PyQt