summaryrefslogtreecommitdiff
path: root/tags.c
diff options
context:
space:
mode:
Diffstat (limited to 'tags.c')
-rw-r--r--tags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tags.c b/tags.c
index 4412533..119a510 100644
--- a/tags.c
+++ b/tags.c
@@ -194,7 +194,7 @@ static void tag_selector_open(Ted *ted) {
arr_add(ted->tag_selector_entries, strn_dup(line, len));
}
}
- ted->active_buffer = &ted->line_buffer;
+ ted_switch_to_buffer(ted, &ted->line_buffer);
buffer_select_all(ted->active_buffer);
ted->tag_selector.cursor = 0;