diff --git a/source/modes/script.c b/source/modes/script.c index f1f874863..92ec95ef7 100644 --- a/source/modes/script.c +++ b/source/modes/script.c @@ -576,6 +576,7 @@ Mode *script_mode_parse_setup(const char *str) { sw->_get_icon = script_get_icon; sw->_get_completion = NULL, sw->_preprocess_input = NULL, sw->_get_display_value = _get_display_value; + sw->type = MODE_TYPE_SWITCHER; return sw; } Mode *sw = g_malloc0(sizeof(*sw)); @@ -599,6 +600,7 @@ Mode *script_mode_parse_setup(const char *str) { sw->_get_icon = script_get_icon; sw->_get_completion = NULL, sw->_preprocess_input = NULL, sw->_get_display_value = _get_display_value; + sw->type = MODE_TYPE_SWITCHER; return sw; }