diff --git a/src/config.py b/src/config.py index 404ab0bc8..227a9c627 100644 --- a/src/config.py +++ b/src/config.py @@ -1964,6 +1964,7 @@ class ManageEmoticonsWindow: old_text = model.get_value(iter, 0).decode('utf-8') if old_text in emots: gajim.config.del_per('emoticons', old_text) + emots = gajim.config.get_per('emoticons') emot = new_text.decode('utf-8').upper() if emot in emots: model.remove(iter)