mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 23:49:38 -05:00
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:
parent
8cbbf61755
commit
6adeb52e93
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user