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:
		@@ -44,8 +44,6 @@ PlainTextEditorEditable::PlainTextEditorEditable(PlainTextEditor *editor)
 | 
			
		||||
    Core::UniqueIDManager *uidm = Core::UniqueIDManager::instance();
 | 
			
		||||
    m_context << uidm->uniqueIdentifier(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID);
 | 
			
		||||
    m_context << uidm->uniqueIdentifier(TextEditor::Constants::C_TEXTEDITOR);
 | 
			
		||||
 | 
			
		||||
    setDisplayName(tr(Core::Constants::K_DEFAULT_TEXT_EDITOR_DISPLAY_NAME));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PlainTextEditor::PlainTextEditor(QWidget *parent)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user