summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-bar.c')
-rw-r--r--src/gui/gui-bar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index b096caedd..b28b8bd3b 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -1043,12 +1043,9 @@ gui_bar_config_change_items (void *data, struct t_config_option *option)
if (ptr_bar)
{
gui_bar_set_items_array (ptr_bar, CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_ITEMS]));
-
+ gui_bar_content_build_bar_windows (ptr_bar);
if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
- {
- gui_bar_content_build_bar_windows (ptr_bar);
gui_bar_ask_refresh (ptr_bar);
- }
}
}