summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugin-config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/plugin-config.c b/src/plugins/plugin-config.c
index 1ad97fcae..937324274 100644
--- a/src/plugins/plugin-config.c
+++ b/src/plugins/plugin-config.c
@@ -184,9 +184,10 @@ plugin_config_set_desc_internal (const char *option, const char *value)
option, "string", _("description of plugin option"),
NULL, 0, 0, "", value, 0, NULL, NULL,
&plugin_config_desc_changed_cb, NULL, NULL, NULL);
- if (ptr_option)
- plugin_config_desc_changed_cb (NULL, ptr_option);
}
+
+ if (ptr_option)
+ plugin_config_desc_changed_cb (NULL, ptr_option);
}
/*