summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-03-16 21:35:25 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-03-16 22:25:45 +0100
commit55203680bad32c765167551ceb48308016c8b98c (patch)
treee578074f42f328be067376524c702b06866e2686 /src/gui
parentc05b22807888731237db6bec422353ec5975270c (diff)
downloadweechat-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.c5
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);
}