summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-11-09 11:15:41 -0800
committerLeslie Linden <leslie@lindenlab.com>2011-11-09 11:15:41 -0800
commit3ecba909a30bf3a0cb9ac51878638ae6520f0177 (patch)
tree3984987d12713b5f2f2b1e09eb07bbf80aef1065 /indra/newview
parent0b323da48a9b9ff46a596f47c56274dc1f7e17d0 (diff)
parent465fd7c25f59692ffde989207868b212827dcdc4 (diff)
Merge from PE. Thanks Paul
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llpanelpicks.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp
index 7dbda6c8de..b6c9f825df 100755
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -134,7 +134,10 @@ public:
LLFloater* picks_floater = LLFloaterReg::showInstance("picks");
LLPanelPicks* picks = picks_floater->findChild<LLPanelPicks>("panel_picks");
- picks->createNewPick();
+ if (picks)
+ {
+ picks->createNewPick();
+ }
}
void editPick(LLPickData* pick_info)
@@ -251,7 +254,10 @@ public:
LLFloater* picks_floater = LLFloaterReg::showInstance("picks");
LLPanelPicks* picks = picks_floater->findChild<LLPanelPicks>("panel_picks");
- picks->createNewClassified();
+ if (picks)
+ {
+ picks->createNewClassified();
+ }
}
void openClassified(LLAvatarClassifiedInfo* c_info)