Fix backslashes in string propeerty in property browser
commit097b3b3323ab6641c17318057e100543b60bca77
authorJarek Kobus <jkobus@trolltech.com>
Mon, 30 Mar 2009 14:09:23 +0000 (30 16:09 +0200)
committerJarek Kobus <jkobus@trolltech.com>
Mon, 30 Mar 2009 14:59:12 +0000 (30 16:59 +0200)
treef91f61a936f5eab26d9bf0cbd18f73b914be30f2
parent34059fba55816496d2570b3306ac2b631b12a5c6
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
tools/designer/src/lib/shared/textpropertyeditor.cpp