Commit 902605ba authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: set empty choice as default in preferences if there is one

parent c8446836
......@@ -519,6 +519,7 @@ void StringListConfigControl::finish(module_config_t *p_module_config, bool byca
if( !p_module_config->ppsz_list[i_index] )
{
combo->addItem( "", QVariant(""));
combo->setCurrentIndex( combo->count() - 1 );
continue;
}
combo->addItem( qfu((p_module_config->ppsz_list_text &&
......
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