diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-20 23:13:21 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-20 23:13:21 +0200 |
commit | 911e29cf65b717214f98a8b25a140a5f29559afe (patch) | |
tree | f54ef8c0d092074f8cc5801d3e0a1ac1374fc0a5 /src | |
parent | 95c03734ccaf19d4a5edac0260905c3e9156e1ae (diff) | |
download | weechat-911e29cf65b717214f98a8b25a140a5f29559afe.zip |
Add missing refresh of bar when changing size with command /set
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-bar.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index b85b2a7ea..234bb1f5a 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -970,10 +970,8 @@ gui_bar_config_change_size (void *data, struct t_config_option *option) (void) data; ptr_bar = gui_bar_search_with_option_name (option->name); - if (ptr_bar) - { - - } + if (ptr_bar && !CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) + gui_bar_refresh (ptr_bar); } /* |