summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpicks.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-12-21 17:54:53 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-12-21 17:54:53 +0200
commitd08ff06230ecc723eb872117c3c0b1031c08d9fe (patch)
treefbac1ee8ff1fa46494fa3802b802eaecdb11c63f /indra/newview/llpanelpicks.cpp
parenteb4f026181c83dfd2106cce3ab1fde6a3fe60ec3 (diff)
parentc353e640fa80a335be741dd0edfdc9952ea3cdea (diff)
merge
--HG-- branch : product-engine
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 4d22d96072..a52aa6d30f 100644
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -769,6 +769,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());