From 30a410036b30f7f183619637d2ab31c7699b8324 Mon Sep 17 00:00:00 2001 From: Sander Kleijwegt Date: Wed, 9 Sep 2015 20:52:43 +0200 Subject: [PATCH] Do not ignore the first tag on autocompletion. Signed-off-by: Sander Kleijwegt Signed-off-by: Dirk Hohndel --- qt-models/completionmodels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;