diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-10-08 14:09:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-10-08 14:09:02 +0200 |
commit | 7a452ce8bc7ee235d9dd13427b59d9fb043998c1 (patch) | |
tree | c8cb919da0dd7cb3152708f023d254b076132de4 /src/gui | |
parent | bbfdec0600270a70dd875a07b66ab68417a163c3 (diff) | |
download | weechat-7a452ce8bc7ee235d9dd13427b59d9fb043998c1.zip |
core: fix display of nicks in nicklist when they are in a group with sub-groups (closes #1079)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-nicklist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/gui-nicklist.c b/src/gui/gui-nicklist.c index de067455b..85feaa1bc 100644 --- a/src/gui/gui-nicklist.c +++ b/src/gui/gui-nicklist.c @@ -680,6 +680,13 @@ gui_nicklist_get_next_item (struct t_gui_buffer *buffer, /* find next group by parents */ while ((ptr_group = ptr_group->parent)) { + if (ptr_group->nicks) + { + *group = NULL; + *nick = ptr_group->nicks; + return; + } + if (ptr_group->next_group) { *group = ptr_group->next_group; |