forked from qt-creator/qt-creator
Designer: Use a BaseTextEditorFactory to create the Xml editor
Change-Id: Iac80f6ef017a7c5acf1ed89ac0ece83c6a67abec Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "formeditorstack.h"
|
||||
#include "formwindoweditor.h"
|
||||
#include "formeditorw.h"
|
||||
#include "formwindowfile.h"
|
||||
|
||||
#include <widgethost.h>
|
||||
|
||||
@@ -188,7 +189,7 @@ void FormEditorStack::modeAboutToChange(Core::IMode *m)
|
||||
// Sync the editor when entering edit mode
|
||||
if (m && m->id() == Core::Constants::MODE_EDIT)
|
||||
foreach (const EditorData &data, m_formEditors)
|
||||
data.formWindowEditor->syncXmlEditor();
|
||||
data.formWindowEditor->formWindowFile()->syncXmlFromFormWindow();
|
||||
}
|
||||
|
||||
} // Internal
|
||||
|
||||
Reference in New Issue
Block a user