From aa68db058d3d70cd1db216684baec95b39a3fbad Mon Sep 17 00:00:00 2001
From: Vitaliy Ivanov <vitalivanov@gmail.com>
Date: Wed, 14 Jan 2009 09:08:30 +0100
Subject: [PATCH] Typo corrected in external editor settings key

Makes Qt Creator read external editor string from .ini
---
 src/plugins/coreplugin/editormanager/editormanager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp
index 241aa043cc0..e8b043f4481 100644
--- a/src/plugins/coreplugin/editormanager/editormanager.cpp
+++ b/src/plugins/coreplugin/editormanager/editormanager.cpp
@@ -1391,7 +1391,7 @@ void EditorManager::readSettings(QSettings *settings)
     if (settings->contains(QLatin1String("EditorManager/DocumentStates")))
         m_d->m_editorStates = settings->value(QLatin1String("EditorManager/DocumentStates"))
             .value<QMap<QString, QVariant> >();
-    if (settings->contains(QLatin1String("EditorManager/ExternalEditor")))
+    if (settings->contains(QLatin1String("EditorManager/ExternalEditorCommand")))
         m_d->m_externalEditor = settings->value(QLatin1String("EditorManager/ExternalEditorCommand")).toString();
 }
 
-- 
GitLab