PDA

View Full Version : QTextEdit undo stack - Qt bug ?



chris_helloworld
11th November 2010, 12:22
Hi all,
I'm using a QTextEdit and finding that if you paste in some text and then paste in some more, a single <ctrl>z undoes both edits.

This should not be standard behaviour, I'd expect <ctrl>Z to undo the last paste, and a second <ctrl>z to undo the previous paste.

Is this a bug in Qt ?

I'm using Qt 4.5.3

Added after 18 minutes:

OK - answering my own question. This seems to be fixed in Qt 4.7.0