diff options
author | Hugues Delorme <delorme.hugues@fougsys.fr> | 2012-05-23 12:04:58 +0200 |
---|---|---|
committer | Hugues Delorme <delorme.hugues@fougsys.fr> | 2012-05-24 11:42:39 +0200 |
commit | 4026b5338e43baed5d19aa3c2460779c30a5b330 (patch) | |
tree | e921205c2f1cb7dd3fbab16d25c1b171bbfd544e /src/plugins | |
parent | c8e5ab6e9271399841995e9c3332e94e14a4cdef (diff) | |
download | qt-creator-4026b5338e43baed5d19aa3c2460779c30a5b330.tar.gz |
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>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/subversion/subversionsubmiteditor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/subversion/subversionsubmiteditor.cpp b/src/plugins/subversion/subversionsubmiteditor.cpp index 8b2e6d7a02..f034a703a4 100644 --- a/src/plugins/subversion/subversionsubmiteditor.cpp +++ b/src/plugins/subversion/subversionsubmiteditor.cpp @@ -53,7 +53,9 @@ void SubversionSubmitEditor::setStatusList(const QList<StatusFilePair> &statusOu const ConstIterator cend = statusOutput.constEnd(); for (ConstIterator it = statusOutput.constBegin(); it != cend; ++it) 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()); } |