summaryrefslogtreecommitdiff
path: root/src/plugins/bazaar/bazaarplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/bazaar/bazaarplugin.cpp')
-rw-r--r--src/plugins/bazaar/bazaarplugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/bazaar/bazaarplugin.cpp b/src/plugins/bazaar/bazaarplugin.cpp
index ebf104bc97..3614e74529 100644
--- a/src/plugins/bazaar/bazaarplugin.cpp
+++ b/src/plugins/bazaar/bazaarplugin.cpp
@@ -540,9 +540,7 @@ void BazaarPlugin::showCommitWidget(const QList<VcsBase::VcsBaseClient::StatusIt
return;
}
- Core::IEditor *editor = Core::EditorManager::openEditor(saver.fileName(),
- Constants::COMMIT_ID,
- Core::EditorManager::ModeSwitch);
+ Core::IEditor *editor = Core::EditorManager::openEditor(saver.fileName(), Constants::COMMIT_ID);
if (!editor) {
outputWindow->appendError(tr("Unable to create an editor for the commit."));
return;