device is saved in config, not name

This commit is contained in:
Yann Leboulanger 2009-11-27 23:12:24 +01:00
parent 5f58e2a9ac
commit 38958094c9
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ class PreferencesWindow:
for index, (name, value) in enumerate(sorted(device_dict.iteritems())): for index, (name, value) in enumerate(sorted(device_dict.iteritems())):
model.append((name, value)) model.append((name, value))
if gajim.config.get(opt_name + '_device') == name: if gajim.config.get(opt_name + '_device') == value:
combobox.set_active(index) combobox.set_active(index)
create_av_combobox('audio_input', {'test': 'test'}) create_av_combobox('audio_input', {'test': 'test'})