1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

core: don't resort hotlist when signal "hotlist_changed" is sent

This commit is contained in:
Sébastien Helleu
2024-03-16 21:35:25 +01:00
parent c05b228078
commit 55203680ba
+4 -1
View File
@@ -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);
}