don't remove edited line in emoticon selector
This commit is contained in:
parent
ae2e86de03
commit
85f38f39c4
|
@ -1964,6 +1964,7 @@ class ManageEmoticonsWindow:
|
||||||
old_text = model.get_value(iter, 0).decode('utf-8')
|
old_text = model.get_value(iter, 0).decode('utf-8')
|
||||||
if old_text in emots:
|
if old_text in emots:
|
||||||
gajim.config.del_per('emoticons', old_text)
|
gajim.config.del_per('emoticons', old_text)
|
||||||
|
emots = gajim.config.get_per('emoticons')
|
||||||
emot = new_text.decode('utf-8').upper()
|
emot = new_text.decode('utf-8').upper()
|
||||||
if emot in emots:
|
if emot in emots:
|
||||||
model.remove(iter)
|
model.remove(iter)
|
||||||
|
|
Loading…
Reference in New Issue