diff --git a/retroshare-gui/src/gui/ChatLobbyWidget.cpp b/retroshare-gui/src/gui/ChatLobbyWidget.cpp index 4d1104e5a..6809ba546 100644 --- a/retroshare-gui/src/gui/ChatLobbyWidget.cpp +++ b/retroshare-gui/src/gui/ChatLobbyWidget.cpp @@ -543,6 +543,9 @@ void ChatLobbyWidget::updateMessageChanged(ChatLobbyId id) QTreeWidgetItem *item = getTreeWidgetItem(id) ; + if(item == NULL) + return ; + item->setIcon(0,_lobby_infos[id].default_icon) ; }