forked from qt-creator/qt-creator
TextEditor: Update tab settings for all tab changes
Not just for selected documents. This also removes the need for the separate setupAsPlainTextDocument function. Change-Id: I51a04eebbad37a7598068ce6e157a53c1519464f Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -56,7 +56,6 @@ FormWindowFile::FormWindowFile(QDesignerFormWindowInterface *form, QObject *pare
|
||||
m_formWindow(form),
|
||||
m_isModified(false)
|
||||
{
|
||||
setupAsPlainTextDocument();
|
||||
setMimeType(QLatin1String(Designer::Constants::FORM_MIMETYPE));
|
||||
setParent(parent);
|
||||
setId(Core::Id(Designer::Constants::K_DESIGNER_XML_EDITOR_ID));
|
||||
|
||||
Reference in New Issue
Block a user