diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llpanelmsgs.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2 meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz |
Second Life viewer sources 1.15.1.3
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelmsgs.cpp | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelmsgs.cpp b/linden/indra/newview/llpanelmsgs.cpp index f25d477..3f5314c 100644 --- a/linden/indra/newview/llpanelmsgs.cpp +++ b/linden/indra/newview/llpanelmsgs.cpp | |||
@@ -88,14 +88,33 @@ void LLPanelMsgs::buildLists() | |||
88 | row["columns"][1]["font"] = "SANSSERIF_SMALL"; | 88 | row["columns"][1]["font"] = "SANSSERIF_SMALL"; |
89 | row["columns"][1]["width"] = 160; | 89 | row["columns"][1]["width"] = 160; |
90 | } | 90 | } |
91 | item = mDisabledPopups->addElement(row, ADD_SORTED); | 91 | if (mDisabledPopups) |
92 | { | ||
93 | item = mDisabledPopups->addElement(row, | ||
94 | ADD_SORTED); | ||
95 | } | ||
96 | else | ||
97 | { | ||
98 | llwarns << "(ignore) but also (!mDisabledPopups)" << llendl; | ||
99 | } | ||
92 | } | 100 | } |
93 | else | 101 | else |
94 | { | 102 | { |
95 | item = mEnabledPopups->addElement(row, ADD_SORTED); | 103 | if (mEnabledPopups) |
104 | { | ||
105 | item = mEnabledPopups->addElement(row, | ||
106 | ADD_SORTED); | ||
107 | } | ||
108 | else | ||
109 | { | ||
110 | llwarns << "(!ignore) but also (!mEnabledPopups)" << llendl; | ||
111 | } | ||
96 | } | 112 | } |
97 | 113 | ||
98 | item->setUserdata((void*)&iter->first); | 114 | if (item) |
115 | { | ||
116 | item->setUserdata((void*)&iter->first); | ||
117 | } | ||
99 | } | 118 | } |
100 | } | 119 | } |
101 | 120 | ||