Correctly restore disabled status for emoticons in pref window

This commit is contained in:
lovetox 2016-10-16 10:37:08 +02:00
parent 14054cc0df
commit 9db1ba1d05
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class PreferencesWindow:
if gajim.config.get('emoticons_theme') == l[i]:
emoticons_combobox.set_active(i)
if not gajim.config.get('emoticons_theme'):
emoticons_combobox.set_active(len(l)-1)
emoticons_combobox.set_active(0)
# Set default for single window type
choices = common.config.opt_one_window_types