diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-12-07 12:04:27 +0200 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-12-07 12:04:27 +0200 |
commit | c6177836ecbe95f75d79f572303a879bf37b3226 (patch) | |
tree | 3ed5664215c29590078c98a6983431c3be9bf1ae /indra/newview/llpanelprofile.cpp | |
parent | 67ff38b51b59766ff7bc0af1e541b54ac067ea70 (diff) |
no ticket, minor refactoring.
add return value to notifyXXX functions, may be usefull
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rw-r--r-- | indra/newview/llpanelprofile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 1830d00f68..3274820174 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -220,15 +220,15 @@ void LLPanelProfile::openPanel(LLPanel* panel, const LLSD& params) panel->setRect(new_rect); } -void LLPanelProfile::notifyParent(const LLSD& info) +S32 LLPanelProfile::notifyParent(const LLSD& info) { std::string action = info["action"]; // lets update Picks list after Pick was saved if("save_new_pick" == action) { onOpen(info); - return; + return 1; } - LLPanel::notifyParent(info); + return LLPanel::notifyParent(info); } |