Commit e6f9c815 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a crash when the option-list finished by 0, like the new x264_nal_nrd one

parent e00e93c3
......@@ -516,6 +516,8 @@ void StringListConfigControl::finish(module_config_t *p_module_config, bool byca
for( int i_index = 0; i_index < p_module_config->i_list; i_index++ )
{
if( !p_module_config->ppsz_list[i_index] )
continue;
combo->addItem( qfu((p_module_config->ppsz_list_text &&
p_module_config->ppsz_list_text[i_index])?
p_module_config->ppsz_list_text[i_index] :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment