From 9db1ba1d054977ab11b922ded23c13d1e9958993 Mon Sep 17 00:00:00 2001 From: lovetox Date: Sun, 16 Oct 2016 10:37:08 +0200 Subject: [PATCH] Correctly restore disabled status for emoticons in pref window --- src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index db397e09b..5885e15a3 100644 --- a/src/config.py +++ b/src/config.py @@ -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