forked from qt-creator/qt-creator
Fix Ctrl+M (bookmark) in editor when help mode is visible
For external windows we need to separate the contexts in which help mode's "add bookmark" and editor's "toggle bookmark" are present. Task-number: QTCREATORBUG-16286 Change-Id: I2a7a28c75dc53e1dd0b21c0a8833bd4594d5afad Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -150,7 +150,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
addAutoReleasedObject(new GeneralSettingsPage());
|
||||
addAutoReleasedObject(m_searchTaskHandler = new SearchTaskHandler);
|
||||
|
||||
m_centralWidget = new CentralWidget(modecontext);
|
||||
m_centralWidget = new CentralWidget(Context("Help.CentralHelpWidget"));
|
||||
connect(m_centralWidget, SIGNAL(sourceChanged(QUrl)), this,
|
||||
SLOT(updateSideBarSource(QUrl)));
|
||||
connect(m_centralWidget, &CentralWidget::closeButtonClicked,
|
||||
|
||||
Reference in New Issue
Block a user