aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-05-20 14:27:36 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-06-02 09:05:22 +0000
commitb281869b25a3c906b0d0ad3c9716833c5e4432dc (patch)
treeb9cee25b5d673db791259a692126067547fc9349 /src
parentb67ebf9ffce6bbba7952b36120f49d7abf956e66 (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.cpp2
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);
}
}