Fix placeholder not being removed when inserting nick in MUC via context menu

This commit is contained in:
Daniel 2018-04-13 22:36:57 +02:00
parent 363fdf7d9a
commit 9f0eaf9df7
1 changed files with 1 additions and 0 deletions

View File

@ -2787,6 +2787,7 @@ class GroupchatControl(ChatControlBase):
return True
def append_nick_in_msg_textview(self, widget, nick):
self.msg_textview.remove_placeholder()
message_buffer = self.msg_textview.get_buffer()
start_iter, end_iter = message_buffer.get_bounds()
cursor_position = message_buffer.get_insert()