Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
92d84a9c
Commit
92d84a9c
authored
8 years ago
by
Mnikolenko Productengine
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-7022 Crash in LLFloaterIMContainer::visibleContextMenuItem()
parent
59601836
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llfloaterimcontainer.cpp
+8
-2
8 additions, 2 deletions
indra/newview/llfloaterimcontainer.cpp
with
8 additions
and
2 deletions
indra/newview/llfloaterimcontainer.cpp
+
8
−
2
View file @
92d84a9c
...
@@ -1505,15 +1505,21 @@ bool LLFloaterIMContainer::checkContextMenuItem(const std::string& item, uuid_ve
...
@@ -1505,15 +1505,21 @@ bool LLFloaterIMContainer::checkContextMenuItem(const std::string& item, uuid_ve
bool
LLFloaterIMContainer
::
visibleContextMenuItem
(
const
LLSD
&
userdata
)
bool
LLFloaterIMContainer
::
visibleContextMenuItem
(
const
LLSD
&
userdata
)
{
{
const
LLConversationItem
*
conversation_item
=
getCurSelectedViewModelItem
();
if
(
!
conversation_item
)
{
return
false
;
}
const
std
::
string
&
item
=
userdata
.
asString
();
const
std
::
string
&
item
=
userdata
.
asString
();
if
(
"show_mute"
==
item
)
if
(
"show_mute"
==
item
)
{
{
return
!
isMuted
(
getCurSelectedViewModelI
tem
()
->
getUUID
());
return
!
isMuted
(
conversation_i
tem
->
getUUID
());
}
}
else
if
(
"show_unmute"
==
item
)
else
if
(
"show_unmute"
==
item
)
{
{
return
isMuted
(
getCurSelectedViewModelI
tem
()
->
getUUID
());
return
isMuted
(
conversation_i
tem
->
getUUID
());
}
}
return
true
;
return
true
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment