Commit b281869b authored by Eike Ziller's avatar Eike Ziller

Fixed that File > Open With was not working with already open file

It was just activating the existing editor, instead of reopening with
the new editor type.

Change-Id: I1fee08d1df1d78a32298d222a09cf05cf9433f19
Task-number: QTCREATORBUG-14336
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent b67ebf9f
......@@ -843,7 +843,7 @@ void MainWindow::openFileWith()
if (isExternal)
EditorManager::openExternalEditor(fileName, editorId);
else
EditorManager::openEditor(fileName, editorId);
EditorManagerPrivate::openEditorWith(fileName, editorId);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment