diff -r ef0373b55136 -r 758a864f9613 tools/designer/src/lib/shared/stylesheeteditor.cpp --- a/tools/designer/src/lib/shared/stylesheeteditor.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/tools/designer/src/lib/shared/stylesheeteditor.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -79,6 +79,7 @@ : QTextEdit(parent) { setTabStopWidth(fontMetrics().width(QLatin1Char(' '))*4); + setAcceptRichText(false); new CssHighlighter(document()); }