diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-05-20 14:27:36 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-06-02 09:05:22 +0000 |
commit | b281869b25a3c906b0d0ad3c9716833c5e4432dc (patch) | |
tree | b9cee25b5d673db791259a692126067547fc9349 /src | |
parent | b67ebf9ffce6bbba7952b36120f49d7abf956e66 (diff) |
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: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/coreplugin/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp index 0f92179ff9..713c6372d0 100644 --- a/src/plugins/coreplugin/mainwindow.cpp +++ b/src/plugins/coreplugin/mainwindow.cpp @@ -843,7 +843,7 @@ void MainWindow::openFileWith() if (isExternal) EditorManager::openExternalEditor(fileName, editorId); else - EditorManager::openEditor(fileName, editorId); + EditorManagerPrivate::openEditorWith(fileName, editorId); } } |