From a47ad71b601727eb5f13c1394f02fc4e523346af Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 23 Sep 2016 10:46:40 +0200 Subject: [PATCH] Fix that editor actions were disabled in navigation bar in debug mode The mode widget needs the editor manager context, not only the debugger main window. Task-number: QTCREATORBUG-16543 Change-Id: Ibe92043a374d9fd507e62998f67c0ce897b198e7 Reviewed-by: hjk --- src/plugins/debugger/debuggerplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index f1d9c7bf8c..a9499aa8d0 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1758,7 +1758,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, m_modeWindow = createModeWindow(Constants::MODE_DEBUG, m_mainWindow); m_mode->setWidget(m_modeWindow); - m_plugin->addAutoReleasedObject(new DebugModeContext(m_mainWindow)); + m_plugin->addAutoReleasedObject(new DebugModeContext(m_modeWindow)); m_plugin->addObject(m_mode); -- GitLab