forked from qt-creator/qt-creator
Don't switch away from debug mode when jumping to line via locator
Task-number: QTCREATORBUG-3192
This commit is contained in:
@@ -151,6 +151,8 @@ IMode *ModeManager::mode(const QString &id) const
|
||||
|
||||
void ModeManager::activateModeType(const QString &type)
|
||||
{
|
||||
if (currentMode() && currentMode()->type() == type)
|
||||
return;
|
||||
int index = -1;
|
||||
for (int i = 0; i < d->m_modes.count(); ++i) {
|
||||
if (d->m_modes.at(i)->type() == type) {
|
||||
|
||||
Reference in New Issue
Block a user