Skip to content
Snippets Groups Projects
Commit 4026b533 authored by Hugues Delorme's avatar Hugues Delorme
Browse files

Svn: fix lack of completion in submit editor


Completion in the "Description" field of the commit editor was
broken with the Subversion plugin.

Change-Id: I82045b96b5f987dce849265abb169cdfbbed45be
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent c8e5ab6e
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,9 @@ void SubversionSubmitEditor::setStatusList(const QList<StatusFilePair> &statusOu ...@@ -53,7 +53,9 @@ void SubversionSubmitEditor::setStatusList(const QList<StatusFilePair> &statusOu
const ConstIterator cend = statusOutput.constEnd(); const ConstIterator cend = statusOutput.constEnd();
for (ConstIterator it = statusOutput.constBegin(); it != cend; ++it) for (ConstIterator it = statusOutput.constBegin(); it != cend; ++it)
model->addFile(it->second, it->first, true); model->addFile(it->second, it->first, true);
setFileModel(model); // Hack to allow completion in "description" field : completion needs a root repository, the
// checkScriptWorkingDirectory property is fine (at this point it was set by SubversionPlugin)
setFileModel(model, this->checkScriptWorkingDirectory());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment