Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fabian.Wein
ParaView
Commits
5cb7a5f3
Commit
5cb7a5f3
authored
Feb 24, 2022
by
Mathieu Westphal
Browse files
Adding a sanity check in left button release in context view
parent
1601befc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Remoting/Views/vtkSMContextViewProxy.cxx
View file @
5cb7a5f3
...
...
@@ -211,7 +211,7 @@ void vtkSMContextViewProxy::OnInteractionEvent()
void
vtkSMContextViewProxy
::
OnLeftButtonReleaseEvent
()
{
vtkChart
*
chart
=
vtkChart
::
SafeDownCast
(
this
->
GetContextItem
());
if
(
chart
)
if
(
chart
&&
chart
->
GetLegend
()
)
{
int
pos
[
2
];
pos
[
0
]
=
static_cast
<
int
>
(
chart
->
GetLegend
()
->
GetPointVector
().
GetX
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment