diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-22 17:10:47 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-22 17:10:47 +0000 |
commit | 04712617c55c53dbec1f73a4e8834ebe3167e5ed (patch) | |
tree | e14e202280a13045a95693144c0dbbf98197d7b5 /indra/newview/llviewermenu.cpp | |
parent | 96ddf30a49a4ebca25816701373c34674088b2ce (diff) | |
parent | fa9811e0c5dbd249a9c6e37d95d2d842d43658a2 (diff) |
merge of viewer2 trunk and 'EXT-5601: Linux: volume adjustment of web-based media / Flash'
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 989cfae464..02bde51fb6 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -6897,7 +6897,8 @@ class LLToolsEditLinkedParts : public view_listener_t { bool handleEvent(const LLSD& userdata) { - BOOL select_individuals = gSavedSettings.getBOOL("EditLinkedParts"); + BOOL select_individuals = !gSavedSettings.getBOOL("EditLinkedParts"); + gSavedSettings.setBOOL( "EditLinkedParts", select_individuals ); if (select_individuals) { LLSelectMgr::getInstance()->demoteSelectionToIndividuals(); |