forked from qt-creator/qt-creator
Editor: use unique id without common part
Otherwise we also got override action warnings after opening a second editor. Change-Id: Id600eaa120e32399a941768ae5d5e35ab969be49 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1066,8 +1066,7 @@ TextEditorWidgetPrivate::TextEditorWidgetPrivate(TextEditorWidget *parent)
|
||||
, m_codeAssistant(parent)
|
||||
, m_hoverHandlerRunner(parent, m_hoverHandlers)
|
||||
, m_autoCompleter(new AutoCompleter)
|
||||
, m_editorContext(
|
||||
Id(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID).withSuffix(QUuid::createUuid().toString()))
|
||||
, m_editorContext(Id::fromString(QUuid::createUuid().toString()))
|
||||
{
|
||||
m_selectionHighlightOverlay->show();
|
||||
auto aggregate = new Aggregation::Aggregate;
|
||||
|
||||
Reference in New Issue
Block a user