aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sander Kleijwegt <sander@myowndomain.nl>2015-09-09 20:52:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-09 13:05:14 -0700
commit30a410036b30f7f183619637d2ab31c7699b8324 (patch)
tree3e1d284a9887d236dfe0b0d711e588432d26989f
parent2025bc1b2bd2e52f27edb67a418e1519d3d664d8 (diff)
downloadsubsurface-30a410036b30f7f183619637d2ab31c7699b8324.tar.gz
Do not ignore the first tag on autocompletion.
Signed-off-by: Sander Kleijwegt <sander@myowndomain.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-models/completionmodels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/completionmodels.cpp b/qt-models/completionmodels.cpp
index ff2afd997..838d239d2 100644
--- a/qt-models/completionmodels.cpp
+++ b/qt-models/completionmodels.cpp
@@ -47,7 +47,7 @@ void TagCompletionModel::updateModel()
if (g_tag_list == NULL)
return;
QStringList list;
- struct tag_entry *current_tag_entry = g_tag_list->next;
+ struct tag_entry *current_tag_entry = g_tag_list;
while (current_tag_entry != NULL) {
list.append(QString(current_tag_entry->tag->name));
current_tag_entry = current_tag_entry->next;