forked from qt-creator/qt-creator
debugger: hot fix for not activated editors while stepping
This commit is contained in:
@@ -533,6 +533,11 @@ void DebuggerEngine::gotoLocation(const QString &file, int line, bool setMarker)
|
||||
|
||||
if (setMarker)
|
||||
d->m_locationMark.reset(new LocationMark(file, line));
|
||||
|
||||
// FIXME: Breaks with split views.
|
||||
if (!d->m_memoryAgent.hasVisibleEditor())
|
||||
editorManager->activateEditor(editors.back());
|
||||
//qDebug() << "MEMORY: " << d->m_memoryAgent.hasVisibleEditor();
|
||||
}
|
||||
|
||||
void DebuggerEngine::gotoLocation(const StackFrame &frame, bool setMarker)
|
||||
|
||||
Reference in New Issue
Block a user