mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
fset: always use a timer to refresh buffer when options are changed
This commit is contained in:
@@ -237,7 +237,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
{
|
||||
if (fset_option_count_marked > 0)
|
||||
{
|
||||
fset_option_enable_timer_config_changed ();
|
||||
num_options = weechat_arraylist_size (fset_options);
|
||||
for (i = 0; i < num_options; i++)
|
||||
{
|
||||
@@ -249,7 +248,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
fset_option_toggle_value (ptr_fset_option, ptr_option);
|
||||
}
|
||||
}
|
||||
fset_option_disable_timer_config_changed ();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -270,7 +268,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
|
||||
if (fset_option_count_marked > 0)
|
||||
{
|
||||
fset_option_enable_timer_config_changed ();
|
||||
num_options = weechat_arraylist_size (fset_options);
|
||||
for (i = 0; i < num_options; i++)
|
||||
{
|
||||
@@ -282,7 +279,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
fset_option_add_value (ptr_fset_option, ptr_option, value);
|
||||
}
|
||||
}
|
||||
fset_option_disable_timer_config_changed ();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -306,7 +302,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
{
|
||||
if (fset_option_count_marked > 0)
|
||||
{
|
||||
fset_option_enable_timer_config_changed ();
|
||||
num_options = weechat_arraylist_size (fset_options);
|
||||
for (i = 0; i < num_options; i++)
|
||||
{
|
||||
@@ -318,7 +313,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
fset_option_reset_value (ptr_fset_option, ptr_option);
|
||||
}
|
||||
}
|
||||
fset_option_disable_timer_config_changed ();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -332,7 +326,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
{
|
||||
if (fset_option_count_marked > 0)
|
||||
{
|
||||
fset_option_enable_timer_config_changed ();
|
||||
num_options = weechat_arraylist_size (fset_options);
|
||||
for (i = 0; i < num_options; i++)
|
||||
{
|
||||
@@ -344,7 +337,6 @@ fset_command_fset (const void *pointer, void *data,
|
||||
fset_option_unset_value (ptr_fset_option, ptr_option);
|
||||
}
|
||||
}
|
||||
fset_option_disable_timer_config_changed ();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user