[PyQt] QUndoCommand.undo() not getting called upon push()
phil at riverbankcomputing.com
Thu Oct 15 10:30:59 BST 2009
On Thu, 15 Oct 2009 02:24:12 +0100, Adeodato Simó <dato at net.com.org.es>
> 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
It will be fixed in tonight's SIP snapshot. Hopefully that's all the monkey
patching use cases.
More information about the PyQt