diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index 1f7e646fe1d91c8568898817b50dc6e3826fcbe4..147c522ab5867ea06293a0c2edc33042f7cbc889 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -956,7 +956,7 @@ bool CVSPlugin::describe(const QString &repositoryPath,
         const QString title = QString::fromLatin1("cvs describe %1").arg(commitId);
         Core::IEditor *newEditor = showOutputInEditor(title, output, VCSBase::DiffOutput, entries.front().file, codec);
         newEditor->setProperty("describeChange", commitId);
-        setDiffBaseDirectory(editor, repositoryPath);
+        setDiffBaseDirectory(newEditor, repositoryPath);
     }
     return true;
 }