Do not ignore the first tag on autocompletion.

Signed-off-by: Sander Kleijwegt <sander@myowndomain.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Sander Kleijwegt 2015-09-09 20:52:43 +02:00 committed by Dirk Hohndel
parent 2025bc1b2b
commit 30a410036b

View file

@ -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;