summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpicks.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-12-21 13:03:14 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2009-12-21 13:03:14 -0800
commit2f91768d96683515383570c8aae21bd126fd0ad6 (patch)
tree8c0a34f7e5aa4ae519d3c10e1c6fc8e9b83cb006 /indra/newview/llpanelpicks.cpp
parentd74d0d5c41d5ea114cef19aa7e54834d1c3b554b (diff)
parent0e6f0e5ca16f534ff14c57c77c323bed2d6e730c (diff)
merge.
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rw-r--r--indra/newview/llpanelpicks.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp
index 69fa110d11..751705dd57 100644
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -781,6 +781,11 @@ void LLPanelPicks::onPanelPickSave(LLPanel* panel)
void LLPanelPicks::onPanelClassifiedSave(LLPanelClassifiedEdit* panel)
{
+ if(!panel->canClose())
+ {
+ return;
+ }
+
if(panel->isNew())
{
LLClassifiedItem* c_item = new LLClassifiedItem(getAvatarId(), panel->getClassifiedId());