forked from qt-creator/qt-creator
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: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -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());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user