diff options
Diffstat (limited to 'src/plugins/designer')
-rw-r--r-- | src/plugins/designer/formeditorw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index df5d63ca9b..af42604c14 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -120,7 +120,6 @@ public: void finalizeInitialization() { - setupAsPlainEditor(); setReadOnly(true); } }; @@ -133,6 +132,7 @@ public: setId(K_DESIGNER_XML_EDITOR_ID); setEditorCreator([]() { return new FormWindowEditor; }); setEditorWidgetCreator([]() { return new Internal::DesignerXmlEditorWidget; }); + setUseGenericHighlighter(true); setDuplicatedSupported(false); } |