diff options
author | Jarek Kobus <jkobus@trolltech.com> | 2009-03-30 16:09:23 +0200 |
---|---|---|
committer | Jarek Kobus <jkobus@trolltech.com> | 2009-03-30 16:59:12 +0200 |
commit | 097b3b3323ab6641c17318057e100543b60bca77 (patch) | |
tree | f91f61a936f5eab26d9bf0cbd18f73b914be30f2 /tools/designer | |
parent | 34059fba55816496d2570b3306ac2b631b12a5c6 (diff) | |
download | qt4-tools-097b3b3323ab6641c17318057e100543b60bca77.tar.gz |
Fix backslashes in string propeerty in property browser
Inside DesignerEditorFactory::createTextEditor() we first do setText() and afterwards we do setTextPropertyValidationMode(). setTextPropertyValidationMode() didn't update the cached text. Below patch fixes it.
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Task-number: 245503
Diffstat (limited to 'tools/designer')
-rw-r--r-- | tools/designer/src/lib/shared/textpropertyeditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/designer/src/lib/shared/textpropertyeditor.cpp b/tools/designer/src/lib/shared/textpropertyeditor.cpp index cf12842edd..95a9f85b3b 100644 --- a/tools/designer/src/lib/shared/textpropertyeditor.cpp +++ b/tools/designer/src/lib/shared/textpropertyeditor.cpp @@ -293,6 +293,7 @@ namespace qdesigner_internal { } setFocusProxy(m_lineEdit); + setText(m_cachedText); markIntermediateState(); } |