summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui-bar-item.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index 5a1019897..9926b36fc 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -484,6 +484,9 @@ gui_bar_item_update (const char *item_name)
void
gui_bar_item_free (struct t_gui_bar_item *item)
{
+ /* force refresh of bars displaying this bar item */
+ gui_bar_item_update (item->name);
+
/* remove bar item from bar items list */
if (item->prev_item)
(item->prev_item)->next_item = item->next_item;