Fixed possible dereference of null pointer in NotifyPage.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-15 22:00:00 +00:00
parent 8cbbf61755
commit 6adeb52e93

View File

@ -347,10 +347,9 @@ void NotifyPage::load()
notifyToggled();
if (mChatLobbyUserNotify){
ui.chatLobbies_TextToNotify->setEnabled(mChatLobbyUserNotify->isCountSpecificText()) ;
ui.chatLobbies_CountFollowingText->setChecked(mChatLobbyUserNotify->isCountSpecificText()) ;
if (mChatLobbyUserNotify){
ui.chatLobbies_CountUnRead->setChecked(mChatLobbyUserNotify->isCountUnRead());
ui.chatLobbies_CheckNickName->setChecked(mChatLobbyUserNotify->isCheckForNickName());
ui.chatLobbies_TextToNotify->setPlainText(mChatLobbyUserNotify->textToNotify());