diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-16 21:35:25 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-16 22:25:45 +0100 |
commit | 55203680bad32c765167551ceb48308016c8b98c (patch) | |
tree | e578074f42f328be067376524c702b06866e2686 /src/gui | |
parent | c05b22807888731237db6bec422353ec5975270c (diff) | |
download | weechat-55203680bad32c765167551ceb48308016c8b98c.zip |
core: don't resort hotlist when signal "hotlist_changed" is sent
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-bar-item.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index d5e4a8556..08d8cfcd0 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -2269,8 +2269,11 @@ gui_bar_item_signal_cb (const void *pointer, void *data, item = (const char *)pointer; if (item) { - if (strcmp (item, "hotlist") == 0) + if ((strcmp (item, "hotlist") == 0) + && (strcmp (signal, "hotlist_changed") != 0)) + { gui_hotlist_resort (); + } gui_bar_item_update (item); } |