Commit 3b4b75ab authored by André Weber's avatar André Weber

StringListConfigControl finish -> deal with empty ppsz_list_text, same like in...

StringListConfigControl finish -> deal with empty ppsz_list_text, same like in wx widgets, use instead the short text
parent 87014491
......@@ -462,7 +462,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++ )
{
combo->addItem( qfu(p_module_config->ppsz_list_text ?
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] :
p_module_config->ppsz_list[i_index] ),
QVariant( p_module_config->ppsz_list[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