diff options
-rw-r--r-- | qt-models/completionmodels.cpp | 2 |
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; |