forked from qt-creator/qt-creator
Debugger: Fix debugger switching to edit mode.
... on clicking stack frames or disassembler/ memory views. Introduce flags to openEditorAt, pass EditorManager::NoModeSwitch where applicable. Task-number: QTCREATORBUG-2278
This commit is contained in:
@@ -297,7 +297,9 @@ void Manager::onDocumentUpdated(CPlusPlus::Document::Ptr doc)
|
||||
void Manager::gotoLocation(const QString &fileName, int line, int column)
|
||||
{
|
||||
bool newEditor = false;
|
||||
TextEditor::BaseTextEditor::openEditorAt(fileName, line, column, QString(), &newEditor);
|
||||
TextEditor::BaseTextEditor::openEditorAt(fileName, line, column, QString(),
|
||||
Core::EditorManager::IgnoreNavigationHistory,
|
||||
&newEditor);
|
||||
}
|
||||
|
||||
void Manager::gotoLocations(const QList<QVariant> &list)
|
||||
|
||||
Reference in New Issue
Block a user