diff options
Diffstat (limited to 'src/plugins/cpaster/cpasterplugin.cpp')
-rw-r--r-- | src/plugins/cpaster/cpasterplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp index 492d91f384..f4908a43a8 100644 --- a/src/plugins/cpaster/cpasterplugin.cpp +++ b/src/plugins/cpaster/cpasterplugin.cpp @@ -342,7 +342,7 @@ void CodepasterPlugin::finishFetch(const QString &titleDescription, Core::IEditor* editor = EditorManager::instance()->openEditor(fileName); QTC_ASSERT(editor, return) editor->setDisplayName(titleDescription); - EditorManager::instance()->activateEditor(editor); + EditorManager::instance()->activateEditor(editor, Core::EditorManager::ModeSwitch); } Q_EXPORT_PLUGIN(CodepasterPlugin) |