diff options
author | Администратор <> | 2009-12-21 16:13:09 +0200 |
---|---|---|
committer | Администратор <> | 2009-12-21 16:13:09 +0200 |
commit | c353e640fa80a335be741dd0edfdc9952ea3cdea (patch) | |
tree | 47d9cf832dff49399f2ff805d735341e3668858c /indra/newview/llpanelpicks.cpp | |
parent | 10d20fdfe7a62087561d4a4e0ec97756ded6a986 (diff) |
Fixed low bug EXT-3353 - There's an ability to create classified w/o title and description.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rw-r--r-- | indra/newview/llpanelpicks.cpp | 5 |
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()); |