Resolve GtkWarning: IA__gtk_tree_view_expand_row: assertion tree_view->priv->model != NULL
This commit is contained in:
parent
a4fc916ab2
commit
fc5b1893fe
|
@ -1822,7 +1822,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
fake_jid)
|
fake_jid)
|
||||||
if nick == self.nick: # we became online
|
if nick == self.nick: # we became online
|
||||||
self.got_connected()
|
self.got_connected()
|
||||||
self.list_treeview.expand_row((self.model.get_path(role_iter)), False)
|
if self.list_treeview.get_model():
|
||||||
|
self.list_treeview.expand_row((self.model.get_path(role_iter)), False)
|
||||||
if self.is_continued:
|
if self.is_continued:
|
||||||
self.draw_banner_text()
|
self.draw_banner_text()
|
||||||
return iter_
|
return iter_
|
||||||
|
|
Loading…
Reference in New Issue