forked from qt-creator/qt-creator
Fixes: Diff editors don't get correct name.
They were no longer showing e.g. the file name of the diffed file. Also separate editor id and editor context a bit.
This commit is contained in:
@@ -66,6 +66,6 @@ Core::GeneratedFiles FormWizard::generateFiles(const QWizard *w,
|
||||
|
||||
Core::GeneratedFile file(fileName);
|
||||
file.setContents(formTemplate);
|
||||
file.setEditorId(QLatin1String(Constants::C_FORMEDITOR_ID));
|
||||
file.setEditorId(QLatin1String(Constants::FORMEDITOR_ID));
|
||||
return Core::GeneratedFiles() << file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user