diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-10-12 04:35:22 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-10-12 04:35:22 (GMT) |
commit | e4dbf0c82b46e7a32e21185c8f633506229be944 (patch) | |
tree | e48e2f3aa5ae8f6e1116c3ba8f14f6ea8c0d2921 /src | |
parent | 80979c559d5b6fc677989e077c9890943dac054f (diff) | |
download | Qt-e4dbf0c82b46e7a32e21185c8f633506229be944.zip Qt-e4dbf0c82b46e7a32e21185c8f633506229be944.tar.gz Qt-e4dbf0c82b46e7a32e21185c8f633506229be944.tar.bz2 |
Bug: TextEdit ignores plain text format when pasting text
Task-number: QTBUG-14003
Reviewed-by: Michael Brasser
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextedit.cpp b/src/declarative/graphicsitems/qdeclarativetextedit.cpp index 6f5608a..e05f4e4 100644 --- a/src/declarative/graphicsitems/qdeclarativetextedit.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextedit.cpp @@ -319,6 +319,7 @@ void QDeclarativeTextEdit::setTextFormat(TextFormat format) updateSize(); } d->format = format; + d->control->setAcceptRichText(d->format != PlainText); emit textFormatChanged(d->format); } |